summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/mcdi_port.c
diff options
context:
space:
mode:
authorColin Ian King2017-10-31 15:23:24 +0100
committerDavid S. Miller2017-11-01 13:25:59 +0100
commite0337f92f6f36040ba91215bbe47203c410f472f (patch)
tree06deb4874366fe156190811ebf63ff08f50da3d6 /drivers/net/ethernet/sfc/mcdi_port.c
parentipv4: fix validate_source for VRF setup (diff)
downloadkernel-qcow2-linux-e0337f92f6f36040ba91215bbe47203c410f472f.tar.gz
kernel-qcow2-linux-e0337f92f6f36040ba91215bbe47203c410f472f.tar.xz
kernel-qcow2-linux-e0337f92f6f36040ba91215bbe47203c410f472f.zip
net: macb: remove redundant assignment to variable work_done
Variable work_done is set to zero and this value is never read, instead it is set to another value a few statements later. Remove the redundant assignment. Cleans up clang warning: drivers/net/ethernet/cadence/macb_main.c:1221:2: warning: Value stored to 'work_done' is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Tested-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/mcdi_port.c')
0 files changed, 0 insertions, 0 deletions