commit | 152b6fd60ae075dbe41707ed9c7caddc18b03b35 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Tue Sep 19 10:46:53 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 19 16:08:54 2017 -0700 |
tree | 954bd64daabce2cbb1263f393f981ef4cd96998e | |
parent | aac028672cbea038f23e378ddb3af08c1dbe668c [diff] |
net: dsa: bcm_sf2: Use SF2_NUM_EGRESS_QUEUES for CFP The magic number 8 in 3 locations in bcm_sf2_cfp.c actually designates the number of switch port egress queues, so use that define instead of open-coding it. Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>