diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2020-12-01 23:44:56 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-03 04:16:28 +0300 |
commit | 453aa4cd7edfa9117a57a20d96a875d815251156 (patch) | |
tree | 779d770621223341fd508c85c5aa26d2702e5511 /drivers/net/dsa/microchip/ksz_common.h | |
parent | 9693e08f2814e37fce6941b140294eeb8e785375 (diff) | |
download | linux-453aa4cd7edfa9117a57a20d96a875d815251156.tar.xz |
net: dsa: microchip: ksz8795: remove unused last_port variable
The variable last_port is not used anywhere, this patch removes it.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.h')
-rw-r--r-- | drivers/net/dsa/microchip/ksz_common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.h b/drivers/net/dsa/microchip/ksz_common.h index cf866e48ff66..629700a63702 100644 --- a/drivers/net/dsa/microchip/ksz_common.h +++ b/drivers/net/dsa/microchip/ksz_common.h @@ -72,7 +72,6 @@ struct ksz_device { int reg_mib_cnt; int mib_cnt; int mib_port_cnt; - int last_port; /* ports after that not used */ phy_interface_t compat_interface; u32 regs_size; bool phy_errata_9477; |