Re: [PATCH 09/11] net: dsa: microchip: remove usage of mib_port_count

2020-11-18 Thread Florian Fainelli
On 11/18/2020 2:03 PM, Michael Grzeschik wrote: > The variable mib_port_cnt has the same meaning as port_cnt. > This driver removes the extra variable and is using port_cnt > everywhere instead. > > Signed-off-by: Michael Grzeschik Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH 09/11] net: dsa: microchip: remove usage of mib_port_count

2020-11-18 Thread Andrew Lunn
On Wed, Nov 18, 2020 at 11:03:55PM +0100, Michael Grzeschik wrote: > The variable mib_port_cnt has the same meaning as port_cnt. > This driver removes the extra variable and is using port_cnt > everywhere instead. > > Signed-off-by: Michael Grzeschik Nice to see another poorly defined variable d

[PATCH 09/11] net: dsa: microchip: remove usage of mib_port_count

2020-11-18 Thread Michael Grzeschik
The variable mib_port_cnt has the same meaning as port_cnt. This driver removes the extra variable and is using port_cnt everywhere instead. Signed-off-by: Michael Grzeschik --- drivers/net/dsa/microchip/ksz8795.c| 11 +-- drivers/net/dsa/microchip/ksz9477.c| 12 +--- dri