summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6131.c
diff options
context:
space:
mode:
authorAndrew Lunn2015-04-02 04:06:33 +0200
committerDavid S. Miller2015-04-02 04:55:40 +0200
commit44e50ddbc74a4bd6a862be9e6de22bce8c0b4150 (patch)
tree924eef387293c87024a27716e711c5649c211ed9 /drivers/net/dsa/mv88e6131.c
parentnet: dsa: mv88e6123_61_65: Determine and use number of switch ports (diff)
downloadkernel-qcow2-linux-44e50ddbc74a4bd6a862be9e6de22bce8c0b4150.tar.gz
kernel-qcow2-linux-44e50ddbc74a4bd6a862be9e6de22bce8c0b4150.tar.xz
kernel-qcow2-linux-44e50ddbc74a4bd6a862be9e6de22bce8c0b4150.zip
net: dsa: Consistently set and use ps->num_ports
As a step towards consolidating code, consistently set the number of ports in the private state structure, and make use of it in loops. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6131.c')
0 files changed, 0 insertions, 0 deletions