aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_debug.c
diff options
context:
space:
mode:
authorYuval Mintz <[email protected]>2016-10-13 19:57:01 +0000
committerDavid S. Miller <[email protected]>2016-10-14 15:07:22 +0000
commitce6b04ee8b112cc9d5ef41ba697a3ffabc630f42 (patch)
treed0b5bdcac704ada0f696339e26e219d4452b67b7 /drivers/net/ethernet/qlogic/qed/qed_debug.c
parentIPv6: fix DESYNC_FACTOR (diff)
downloadkernel-ce6b04ee8b112cc9d5ef41ba697a3ffabc630f42.tar.gz
kernel-ce6b04ee8b112cc9d5ef41ba697a3ffabc630f42.zip
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 <[email protected]> Fixes: abd49676c707 ("qed: Add RoCE ll2 & GSI support") Signed-off-by: Yuval Mintz <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_debug.c')
0 files changed, 0 insertions, 0 deletions