]> git.karo-electronics.de Git - karo-tx-linux.git/commit
skd: remove unneeded NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Sep 2013 08:06:11 +0000 (11:06 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Sep 2013 17:00:00 +0000 (11:00 -0600)
commit487e90b3e347dbb5c295779ea65f6b9fe36a9271
tree242756371837dcf8de527fd1116715679c1ae168
parente04421688ca6c87e6d28eca1a6b889f361e930a3
skd: remove unneeded NULL check

We already dereferenced "skdev" a few lines earlier in the debug code so
my static checker complains.  I audited the callers and "skdev" is never
NULL here so I have removed the check.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c