From: Jacob Keller Date: Sat, 22 Feb 2014 01:23:58 +0000 (+0000) Subject: ixgbe: use ixgbe_read_pci_cfg_word X-Git-Tag: v3.15-rc1~113^2~119^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d7c6e008e3f5b38e9126e7baeb35ce84581911a;p=pandora-kernel.git ixgbe: use ixgbe_read_pci_cfg_word This patch replaces some direct uses of pci_read_config_word with the protected ixgbe_read_pci_cfg_word function, which checks for whether the adapter is removed when LER is enabled. We shouldn't use the pci_read_config_word calls directly because of these checks. This patch also cleans up an unnecessary save of a pointer to the mac object, as our standard style is to just use the hw pointer. CC: Arun Sharma Signed-off-by: Jacob Keller Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed