Jens Axboe c66bb3f075 mtip32xx: fix two smatch warnings
Dan reports:

New smatch warnings:
drivers/block/mtip32xx/mtip32xx.c:2728 show_device_status() warn: variable dereferenced before check 'dd' (see line 2727)
drivers/block/mtip32xx/mtip32xx.c:2758 show_device_status() warn: variable dereferenced before check 'dd' (see line 2757)

which are checking if dd == NULL, in a list_for_each_entry() type loop.
Get rid of the check, dd can never be NULL here.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2013-04-04 09:03:41 +02:00
..
2013-02-27 19:10:15 -08:00
2013-03-26 14:48:12 -06:00
2012-01-03 22:54:07 -05:00
2011-08-08 11:40:15 +02:00
2012-03-28 18:30:03 +01:00
2013-02-27 19:10:22 -08:00
2012-09-09 10:35:39 +02:00
2009-03-26 21:15:27 +01:00
2013-02-09 14:23:33 +01:00