ixgbe: use pcie_capability_read_word() to simplify code
authorYijing Wang <wangyijing@huawei.com>
Wed, 4 Sep 2013 17:30:08 +0000 (17:30 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 24 Oct 2013 13:55:54 +0000 (06:55 -0700)
commitc0798edfb32497a886308a2614fd0a4e6da499c0
tree1ea3e4637b6d84926e7149522d473388e791a5cb
parentf1f965793b2bb8a75067e94acbe886a61637cab8
ixgbe: use pcie_capability_read_word() to simplify code

use pcie_capability_read_word() to simplify code.

Signed-off-by: Yijing Wang <wangyijing@huawei.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