diff options
author | Jens Axboe <axboe@kernel.dk> | 2013-04-04 09:03:41 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-04-04 09:03:41 +0200 |
commit | c66bb3f075cfe2d17b2427e96e043622db02759c (patch) | |
tree | 7341df82d88498de19f21ae55e13b6d51c6ec057 /MAINTAINERS | |
parent | 0caff00390db41c98976e65f2ebc3eeaa4861358 (diff) | |
download | op-kernel-dev-c66bb3f075cfe2d17b2427e96e043622db02759c.zip op-kernel-dev-c66bb3f075cfe2d17b2427e96e043622db02759c.tar.gz |
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>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions