zram: fix NULL check before some freeing functions is not needed
fixed the below warning: /drivers/block/zram/zram_drv.c:534:2-8: WARNING: NULL check before some freeing functions is not needed. Signed-off-by:Tian Tao <tiantao6@hisilicon.com> Acked-by:
Minchan Kim <minchan@kernel.org> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
Please register or sign in to comment