net: macb: remove redundant assignment to variable work_done
authorColin Ian King <colin.king@canonical.com>
Tue, 31 Oct 2017 14:23:24 +0000 (14:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 12:25:59 +0000 (21:25 +0900)
commite0337f92f6f36040ba91215bbe47203c410f472f
tree06deb4874366fe156190811ebf63ff08f50da3d6
parent032a480202245e384fdbcac92da720d697384d8e
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>
drivers/net/ethernet/cadence/macb_main.c