bnx2x: Use pci_ari_enabled() instead of local copy
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 6 Oct 2017 11:00:30 +0000 (06:00 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 17:06:06 +0000 (10:06 -0700)
commitd2746fe5380e9af79807994756672baaf42cb130
treea9e244fcac6d5d4c8efc5af1a8773e005fc220e3
parent399e3514e10ef1a611aebe0563d52d6ebca1cecc
bnx2x: Use pci_ari_enabled() instead of local copy

Use pci_ari_enabled() from the PCI core instead of the identical local copy
bnx2x_ari_enabled().  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c