/* We don't use any of the OOB data besides status. Otherwise, we
* need to clean up OOB data
*/
- if (
- (ring_index == 0 && buff_index < rx_local->fbr[1]->num_entries) ||
+ if ((ring_index == 0 && buff_index < rx_local->fbr[1]->num_entries) ||
(ring_index == 1 && buff_index < rx_local->fbr[0]->num_entries)) {
u32 *offset;
u8 id;
next->addr_lo = rx_local->fbr[id]->bus_low[buff_index];
next->word2 = buff_index;
- writel(bump_free_buff_ring(
- &rx_local->fbr[id]->local_full,
- rx_local->fbr[id]->num_entries - 1),
- offset);
+ writel(bump_free_buff_ring(&rx_local->fbr[id]->local_full,
+ rx_local->fbr[id]->num_entries - 1),
+ offset);
spin_unlock_irqrestore(&adapter->fbr_lock, flags);
} else {
struct rx_ring *rx_local = &adapter->rx_ring;
struct rx_status_block *status;
struct pkt_stat_desc *psr;
- struct rfd *rfd = NULL;
+ struct rfd *rfd;
u32 i;
u8 *buf;
unsigned long flags;
u32 len;
u32 word0;
u32 word1;
- struct sk_buff *skb = NULL;
+ struct sk_buff *skb;
/* RX Status block is written by the DMA engine prior to every
* interrupt. It contains the next to be used entry in the Packet