]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita775f3f223ca110968ba181088cd2df34428c50e
treea9e244fcac6d5d4c8efc5af1a8773e005fc220e3
parente33705cefe9f4d0db7cebb92accacf3277700f92
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