diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2021-02-14 13:31:02 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-15 07:27:24 +0300 |
commit | 4cf29e43afc0dea7ccf6b09a20bd598fad47bf60 (patch) | |
tree | 23180566202eb9ad39d1a0c5329adef48e6a3ea9 /lib/mpi/mpi-cmp.c | |
parent | 65fb1b0dbce84aaded750cbb6a8cb7783ae601eb (diff) | |
download | linux-4cf29e43afc0dea7ccf6b09a20bd598fad47bf60.tar.xz |
lightnvm: fix unnecessary NULL check warnings
Remove NULL checks before vfree() to fix these warnings:
./drivers/lightnvm/pblk-gc.c:27:2-7: WARNING: NULL check before some
freeing functions is not needed.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions