summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2020-12-01 21:45:02 +0100
committerJakub Kicinski <kuba@kernel.org>2020-12-02 17:16:29 -0800
commit557d1a1fbad3023b31ea26eedddd7480350b8359 (patch)
tree2b0eace81bfbc7d8f0dd5aeb3c954101f3bbd6ec /drivers/pinctrl
parent4ce2a984abd86b002c22b9b84842e32e973a5fec (diff)
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>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions