ixgbe: combine accesses to FCTRL register into ixgbe_set_rx_mode
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Aug 2010 13:36:49 +0000 (13:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 23:40:52 +0000 (16:40 -0700)
commitf5dc442b4671e2961c2e5bb3e16a86ce7da86cd3
tree9bf5a0c36bcd669dd8316f79bf0676fc7f8c2554
parent486545216472d67c16e3d3d60c5f21f60959c855
ixgbe: combine accesses to FCTRL register into ixgbe_set_rx_mode

We are accessing the FCTRL register in multiple spots in the init path and
we can simplify things by combining the configuration all into
ixgbe_set_rx_mode.

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>
drivers/net/ixgbe/ixgbe_main.c