ixgbevf: Streamline the rx buffer allocation
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 2 Nov 2012 05:50:21 +0000 (05:50 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 15 Nov 2012 13:35:12 +0000 (05:35 -0800)
commitb9dd245bc6033a08ee46506cf3cb68d0edceef1d
tree4c721571f97666eb3895bbb161701723eef7d4b7
parent07bd34db29e56be78297e973fd16e8f32ecd0a43
ixgbevf: Streamline the rx buffer allocation

Moves allocation of local variable to section where it is needed and
removes unnecessary if statement.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c