net: dsa: microchip: remove unused private members
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Thu, 2 Jul 2020 15:17:24 +0000 (18:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jul 2020 00:59:08 +0000 (17:59 -0700)
commitb20a6b29a811bee0e44b64958d415eb50436154c
tree15d2534fa24f0fb5589af68f0b8a46bfecb207d6
parent143a102e3090532a624d25429b79284caa59ce9f
net: dsa: microchip: remove unused private members

Private structure members live_ports, on_ports, rx_ports, tx_ports are
initialized but not used anywhere. Let's remove them.

Suggested-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz8795.c
drivers/net/dsa/microchip/ksz9477.c
drivers/net/dsa/microchip/ksz_common.c
drivers/net/dsa/microchip/ksz_common.h