ixgbe: cleanup some minor issues in ixgbe_down()
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 22 Apr 2011 04:08:14 +0000 (04:08 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 15 May 2011 01:08:46 +0000 (18:08 -0700)
commit34cecbbfad5a01050604d5b12fd7d7fb02597dbe
tree590fdb6dbec2747e8ef7b7a1cc513da66a3a765b
parentf0f9778d043481f3cded693849e3b88b01fbc69b
ixgbe: cleanup some minor issues in ixgbe_down()

This patch cleans up two minor issues in ixgbe_down.  Specifically it
addresses the fact that the VFs should not be pinged until after interrupts
are disabled otherwise they might still get a response.  It also drops the
use of the txdctl temporary variable since the only bit we should be
writing to the TXDCTL registers during a shutdown is the flush bit.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_main.c