diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-06-27 23:50:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-29 05:46:16 -0400 |
commit | 5b4d10f5e0369ed79434593b7cd8e85eebbe473f (patch) | |
tree | e2f3d7e7b90fe16028b94377b21974ba39310ff3 /net/batman-adv/bridge_loop_avoidance.c | |
parent | ceb56070359b7329b5678b5d95a376fcb24767be (diff) |
qlcnic: use the correct ring in qlcnic_83xx_process_rcv_ring_diag()
There is a static checker warning here "warn: mask and shift to zero"
and the code sets "ring" to zero every time. From looking at how
QLCNIC_FETCH_RING_ID() is used in qlcnic_83xx_process_rcv_ring() the
qlcnic_83xx_hndl() should be removed.
Fixes: 4be41e92f7c6 ('qlcnic: 83xx data path routines')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/bridge_loop_avoidance.c')
0 files changed, 0 insertions, 0 deletions