]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
e1000e/igb/ixgbe: Don't report an error if devices don't support AER
authorFrans Pop <elendil@planet.nl>
Fri, 2 Oct 2009 17:04:12 +0000 (10:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2009 17:04:12 +0000 (10:04 -0700)
commit19d5afd4f0d26201d8d8bec351ee0442775a5379
tree8bf3b440d53c2e3a60c0a0ea69cb99bc3b729428
parentb607bd900051efc3308c4edc65dd98b34b230021
e1000e/igb/ixgbe: Don't report an error if devices don't support AER

The only error returned by pci_{en,dis}able_pcie_error_reporting() is
-EIO which simply means that Advanced Error Reporting is not supported.
There is no need to report that, so remove the error check from e1000e,
igb and ixgbe.

Signed-off-by: Frans Pop <elendil@planet.nl>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c
drivers/net/igb/igb_main.c
drivers/net/ixgbe/ixgbe_main.c