WSL2-Linux-Kernel/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
..
Kconfig lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
Makefile lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
core.c lightnvm: implement get log report chunk helpers 2018-03-29 17:29:09 -06:00
pblk-cache.c lightnvm: pblk: export write amplification counters to sysfs 2018-03-29 17:29:09 -06:00
pblk-core.c lightnvm: pblk: implement get log report chunk 2018-03-29 17:29:09 -06:00
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 lightnvm: add support for 2.0 address format 2018-03-29 17:29:09 -06:00
pblk-rb.c lightnvm: pblk: prevent race in pblk_rb_flush_point_set 2018-03-29 17:29:09 -06:00
pblk-read.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk-recovery.c lightnvm: pblk: don't recover unwritten lines 2018-03-29 17:29:09 -06:00
pblk-rl.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk-sysfs.c lightnvm: pblk: implement 2.0 support 2018-03-29 17:29:09 -06:00
pblk-write.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk.h lightnvm: pblk: implement 2.0 support 2018-03-29 17:29:09 -06:00