bgmac: drop ring->num_slots
authorFelix Fietkau <nbd@openwrt.org>
Tue, 14 Apr 2015 10:08:02 +0000 (12:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Apr 2015 18:57:11 +0000 (14:57 -0400)
commit29ba877e7c8092a4dd3cbef80cca4e857129ca55
treed1b6cc4b86b18b116813bcb602a57730eb54aaa5
parent4668ae1fbcab89af5ffbb161d4c70b25ce4c50f4
bgmac: drop ring->num_slots

The ring size is always known at compile time, so make the code a bit
more efficient

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c
drivers/net/ethernet/broadcom/bgmac.h