diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-03-30 00:05:23 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-03-29 17:29:09 -0600 |
commit | 5565b0ca50b5b82e0439f6e4dc7fbb122cd0b025 (patch) | |
tree | 9f925c9829dbf3c234249e9e448ed7523b066899 /drivers/clocksource | |
parent | 9156f360a77f9b975645a66af5ae8f7f68eccded (diff) |
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>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions