OSDN Git Service

net: dsa: mv88e6xxx: Remove set but unused variable
authorAndrew Lunn <andrew@lunn.ch>
Sun, 5 Jul 2020 19:38:09 +0000 (21:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jul 2020 22:43:01 +0000 (15:43 -0700)
commitb672b35143777658cb8801c16427d797430f53e3
treef069bfadf31718618a39fb966ea1afba0fc05ad7
parent048442807aba49898a502fa7a87f4b48776359ff
net: dsa: mv88e6xxx: Remove set but unused variable

We don't act on any errors reading registers while handling watchdog
interrupt. Since this is an interrupt handler, we cannot return such
errors. So just remove the variable.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/global2.c