diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-02-06 23:15:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-07 02:43:02 -0800 |
commit | db76176215ec5af7a67386e0eacb5ea53e040f10 (patch) | |
tree | eb68c1e9151058e130a919e10779561d4a8edfa9 /drivers/net/sh_eth.c | |
parent | 69d3ca5357bb93bb3a139c5d90077407f8828bd1 (diff) |
igb: move setting of buffsz out of repeated path in alloc_rx_buffers
buffsz is being repeatedly set when allocaing buffers. Since this value
should only need to be set once in the function I am moving it out of the
looped portion of the path.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sh_eth.c')
0 files changed, 0 insertions, 0 deletions