misc: sram: cleanup the code
Since the devm_gen_pool_create() is used, so the gen_pool_destroy() here is redundant. Signed-off-by: NXiubo Li <Li.Xiubo@freescale.com> Acked-by: NPhilipp Zabel <p.zabel@pengutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录