igb: move setting of buffsz out of repeated path in alloc_rx_buffers
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 6 Feb 2009 23:15:25 +0000 (23:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Feb 2009 10:43:02 +0000 (02:43 -0800)
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>

No differences found