aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorEgil Hjelmeland <[email protected]>2017-08-07 22:22:21 +0000
committerDavid S. Miller <[email protected]>2017-08-09 01:13:59 +0000
commit274cdb46e98b965449c68d912bcc45899ba34593 (patch)
tree2786c635b97f7bf44df02ea3ed7d5f720f0d6696 /net/sched/cls_api.c
parentselftests: bpf: add a test for XDP redirect (diff)
downloadkernel-274cdb46e98b965449c68d912bcc45899ba34593.tar.gz
kernel-274cdb46e98b965449c68d912bcc45899ba34593.zip
net: dsa: lan9303: Only allocate 3 ports
Save 2628 bytes on arm eabi by allocate only the required 3 ports. Now that ds->num_ports is correct: In net/dsa/tag_lan9303.c eliminate duplicate LAN9303_MAX_PORTS, use ds->num_ports. (Matching the pattern of other net/dsa/tag_xxx.c files.) Signed-off-by: Egil Hjelmeland <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Reviewed-by: Vivien Didelot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions