ixgbe: Drop unnecessary addition from ixgbe_set_rx_buffer_len
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 8 Sep 2012 03:17:01 +0000 (03:17 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Oct 2012 04:16:52 +0000 (21:16 -0700)
commit505e371808f9157b3e7678a46b010e9988a9bdce
tree0f1d2ebef69806c12dffd299dfe32b0a994196f2
parent71a49f777d6caa84b2b8ea376fcf181fe221d063
ixgbe: Drop unnecessary addition from ixgbe_set_rx_buffer_len

We still had some code floating around from the old single buffer receive
path.  As a result we were adding VLAN_HLEN to max_frame although the
resultant value was never used.  Since that is the case we can drop this from
the function.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c