summaryrefslogtreecommitdiff
path: root/drivers/md/dm-bufio.c
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@caviumnetworks.com>2016-10-13 22:57:01 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-14 11:07:22 -0400
commitce6b04ee8b112cc9d5ef41ba697a3ffabc630f42 (patch)
treed0b5bdcac704ada0f696339e26e219d4452b67b7 /drivers/md/dm-bufio.c
parent76506a986dc31394fd1f2741db037d29c7e57843 (diff)
qed: Fix static checker warning.
Smatch compains about qed_roce_ll2_tx() dereference of the 'cdev' variable while testing its validity later. As the validation checking is an over-kill [variable would always be set], simply remove it. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: abd49676c707 ("qed: Add RoCE ll2 & GSI support") Signed-off-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/md/dm-bufio.c')
0 files changed, 0 insertions, 0 deletions