commit | 68a1b676db52435725deec33389cb362bb64c6e6 | [log] [tgz] |
---|---|---|
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | Tue Dec 01 21:44:57 2020 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Wed Dec 02 17:16:28 2020 -0800 |
tree | 93cdb0bfa75137f85b247ee1a3793307ed91465b | |
parent | 453aa4cd7edfa9117a57a20d96a875d815251156 [diff] |
net: dsa: microchip: ksz8795: remove superfluous port_cnt assignment The port_cnt assignment will be done again in the init function. This patch removes the previous assignment in the detect function. 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>