aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorVivien Didelot <[email protected]>2017-01-27 20:29:37 +0000
committerDavid S. Miller <[email protected]>2017-01-29 23:42:46 +0000
commit26895e299cfb583d304553e9c259e694a7e83397 (patch)
tree84efe62291aa646b75bb4778db06644e2062fb74 /drivers/net/xen-netback/interface.c
parentnet: dsa: variable number of ports (diff)
downloadkernel-26895e299cfb583d304553e9c259e694a7e83397.tar.gz
kernel-26895e299cfb583d304553e9c259e694a7e83397.zip
net: dsa: use ds->num_ports when possible
The dsa_switch structure contains the number of ports. Use it where the structure is valid instead of the DSA_MAX_PORTS value. Signed-off-by: Vivien Didelot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions