mirror_ubuntu-kernels/drivers/net/dsa/microchip
Michael Grzeschik 557d1a1fba net: dsa: microchip: remove superfluous num_ports assignment
The variable num_ports is already assigned in the init function. The
drivers individual init function already handles the different purpose
of port_cnt vs port_cnt + 1. This patch removes the extra assignment of
the variable.

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>
2020-12-02 17:16:29 -08:00
..
Kconfig net: dsa: ksz: Select KSZ protocol tag 2020-03-31 10:04:40 -07:00
ksz8795_reg.h net: dsa: microchip: ksz8795: use phy_port_cnt where possible 2020-12-02 17:16:29 -08:00
ksz8795_spi.c net: dsa: microchip: ksz8795: setup SPI mode 2020-11-25 17:53:45 -08:00
ksz8795.c net: dsa: microchip: remove superfluous num_ports assignment 2020-12-02 17:16:29 -08:00
ksz9477_i2c.c net: dsa: microchip: add ksz9563 to ksz9477 I2C driver 2020-10-09 13:05:56 -07:00
ksz9477_reg.h net: dsa: microchip: Use the correct style for SPDX License Identifier 2019-10-15 14:59:58 -07:00
ksz9477_spi.c net: dsa: microchip: ksz9477: setup SPI mode 2020-11-25 17:53:45 -08:00
ksz9477.c net: dsa: microchip: remove superfluous num_ports assignment 2020-12-02 17:16:29 -08:00
ksz_common.c net: dsa: microchip: support for "ethernet-ports" node 2020-11-25 17:53:45 -08:00
ksz_common.h net: dsa: microchip: ksz8795: remove unused last_port variable 2020-12-02 17:16:28 -08:00
Makefile net: dsa: microchip: add KSZ9477 I2C driver 2019-09-12 11:36:12 +01:00