misc: sram: cleanup the code
authorXiubo Li <Li.Xiubo@freescale.com>
Wed, 15 Jan 2014 03:16:35 +0000 (11:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 23:10:19 +0000 (15:10 -0800)
commit590eca1e9f10b7ddf97718c6c4c12c73d0fd0083
tree42a5f0b24b7fe0e70a06f40a52481a64af72fb69
parent5baaf71fb029f1256532b82aab90169615b94a7d
misc: sram: cleanup the code

Since the devm_gen_pool_create() is used, so the gen_pool_destroy()
here is redundant.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sram.c