TX_SLOTS_PER_FRAME
header = &(ring->txhdr_cache[(slot / TX_SLOTS_PER_FRAME) * hdrsize]);
if (WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME)) {
if ((free_slots(ring) < TX_SLOTS_PER_FRAME) ||
B43_WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME);
BUILD_BUG_ON(B43_TXRING_SLOTS % TX_SLOTS_PER_FRAME != 0);
ring->txhdr_cache = kcalloc(ring->nr_slots / TX_SLOTS_PER_FRAME,
ring->txhdr_cache = kcalloc(ring->nr_slots / TX_SLOTS_PER_FRAME,