linux/drivers/net/ethernet/cadence
Ben Shelton 21d3515ce7 net/macb: Factor out one-time assignment from loop
In 02c958dd3 (net/macb: add TX multiqueue support for gem), the
initialization of tx_head and tx_tail in macb_init_rings() was moved
inside the loop that iterates over each element in the ring.  Since
tx_head and tx_tail only need to be assigned once, move them back out of
the loop.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-04-22 18:34:56 -04:00
..
Kconfig net/macb: merge at91_ether driver into macb driver 2015-03-07 22:31:37 -05:00
macb.c net/macb: Factor out one-time assignment from loop 2015-04-22 18:34:56 -04:00
macb.h net/macb: unify peripheral version testing 2015-03-31 16:51:17 -04:00
Makefile net/macb: merge at91_ether driver into macb driver 2015-03-07 22:31:37 -05:00