PCI: Remove pci_ats_enabled()
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 20 Jul 2015 14:23:37 +0000 (09:23 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Aug 2015 20:59:59 +0000 (15:59 -0500)
commitf7ef1340bb501717372a39f4807d0ad519ebd432
tree93e44108a341fe1bcdbd204b3ce0090197ec4913
parenta71f938f3a9a7bc879296cd34ecae9effe5edf3f
PCI: Remove pci_ats_enabled()

Remove pci_ats_enabled().  There are no callers outside the ATS code
itself.  We don't need to check ats_cap, because if we don't find an ATS
capability, we'll never set ats_enabled.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
drivers/pci/ats.c
include/linux/pci.h