Re: [PATCH] misc: sram: cleanup the code

2014-01-15 Thread Philipp Zabel
Am Mittwoch, den 15.01.2014, 11:16 +0800 schrieb Xiubo Li: > Since the devm_gen_pool_create() is used, so the gen_pool_destroy() > here is redundant. > > Signed-off-by: Xiubo Li > --- > drivers/misc/sram.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/misc/sram.c

Re: [PATCH] misc: sram: cleanup the code

2014-01-15 Thread Philipp Zabel
Am Mittwoch, den 15.01.2014, 11:16 +0800 schrieb Xiubo Li: Since the devm_gen_pool_create() is used, so the gen_pool_destroy() here is redundant. Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/misc/sram.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH] misc: sram: cleanup the code

2014-01-14 Thread Xiubo Li
Since the devm_gen_pool_create() is used, so the gen_pool_destroy() here is redundant. Signed-off-by: Xiubo Li --- drivers/misc/sram.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c index afe66571..e3e421d 100644 --- a/drivers/misc/sram.c +++

[PATCH] misc: sram: cleanup the code

2014-01-14 Thread Xiubo Li
Since the devm_gen_pool_create() is used, so the gen_pool_destroy() here is redundant. Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/misc/sram.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c index afe66571..e3e421d 100644 ---