diff options
author | Ben Shelton <[email protected]> | 2015-04-22 17:28:54 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-04-22 18:34:56 -0400 |
commit | 21d3515ce7179523a2941cc015960dd788290e33 (patch) | |
tree | cce5d80276b3531c75de366fb13274d71a3a00f6 /include/linux/fpga/fpga-mgr.h | |
parent | 79930f5892e134c6da1254389577fffb8bd72c66 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions