summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Habets <mhabets@solarflare.com>2019-07-08 12:07:11 +0100
committerDavid S. Miller <davem@davemloft.net>2019-07-08 12:16:48 -0700
commit05cfee98c8a5187c41978967d34ab5ef0353c0f8 (patch)
treef278e7829e98eafc2f4d128b3a41b5ce94c6dd1e
parent47cfb90406e1d8de4007e781155884ff10bb40d3 (diff)
sfc: Remove 'PCIE error reporting unavailable'
This is only at notice level but it was pointed out that no other driver does this. Also there is no action the user can take as it is really a property of the server. Signed-off-by: Martin Habets <mhabets@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/sfc/efx.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c
index 53b726bfe945..ab58b837df47 100644
--- a/drivers/net/ethernet/sfc/efx.c
+++ b/drivers/net/ethernet/sfc/efx.c
@@ -3614,11 +3614,7 @@ static int efx_pci_probe(struct pci_dev *pci_dev,
netif_warn(efx, probe, efx->net_dev,
"failed to create MTDs (%d)\n", rc);
- rc = pci_enable_pcie_error_reporting(pci_dev);
- if (rc && rc != -EINVAL)
- netif_notice(efx, probe, efx->net_dev,
- "PCIE error reporting unavailable (%d).\n",
- rc);
+ (void)pci_enable_pcie_error_reporting(pci_dev);
if (efx->type->udp_tnl_push_ports)
efx->type->udp_tnl_push_ports(efx);