]> git.baikalelectronics.ru Git - kernel.git/commit
zram: fix NULL check before some freeing functions is not needed
authorTian Tao <tiantao6@hisilicon.com>
Mon, 25 Jan 2021 08:13:01 +0000 (16:13 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Jan 2021 20:12:08 +0000 (13:12 -0700)
commitbb4d0ce164e937186924e227d99acac8b9bec8b6
tree815c33616acdab17be917524db13242ee2d8edc0
parentf7e52d3518f7734c7ba0a07707ecc8e0315c3831
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>
drivers/block/zram/zram_drv.c