]> 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)
commit1359d39deda712cc7ff9c9cb54c3bcf0184f43b4
tree4c721571f97666eb3895bbb161701723eef7d4b7
parent426c1cd752f6fe61910932f7d4dc5dfe74b6bf1b
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