]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f913e37344e08a8f53544239283eaadbca85c69
tree4c721571f97666eb3895bbb161701723eef7d4b7
parentcb4cb4ebc5b8ba5384b054bb32a786075fadd46f
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