linux/drivers/lightnvm
Dan Carpenter 5565b0ca50 lightnvm: pblk: remove some unnecessary NULL checks
Smatch complains that flush_workqueue() dereferences the work queue
pointer but then we check if it's NULL on the next line when it's too
late.  These NULL checks can be removed because the module won't load if
we can't allocate the work queues.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-03-29 17:29:09 -06:00
..
core.c
Kconfig
Makefile
pblk-cache.c
pblk-core.c
pblk-gc.c lightnvm: pblk: remove some unnecessary NULL checks 2018-03-29 17:29:09 -06:00
pblk-init.c lightnvm: pblk: implement 2.0 support 2018-03-29 17:29:09 -06:00
pblk-map.c
pblk-rb.c
pblk-read.c
pblk-recovery.c lightnvm: pblk: don't recover unwritten lines 2018-03-29 17:29:09 -06:00
pblk-rl.c
pblk-sysfs.c lightnvm: pblk: implement 2.0 support 2018-03-29 17:29:09 -06:00
pblk-write.c
pblk.h lightnvm: pblk: implement 2.0 support 2018-03-29 17:29:09 -06:00