net: ethernet: stmmac: Clean up dead code
authorChristos Gkekas <chris.gekas@gmail.com>
Sun, 8 Oct 2017 19:13:49 +0000 (20:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 04:19:07 +0000 (21:19 -0700)
commitc778c32118167adcfe6b40063c49bfeac6bc1cf1
tree238d7566f1912f1d2666c11e820c5d5fa185e95d
parentbf6a119eea2f1427ac1c8b489bb187defa476ec6
net: ethernet: stmmac: Clean up dead code

Many macros in dwmac-ipq806x are unused and should be removed.
Moreover gmac->id is an unsigned variable and therefore checking
whether it is less than zero is redundant.

Signed-off-by: Christos Gkekas <chris.gekas@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c