PCI: Clean up ATS error handling
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Jul 2015 20:43:27 +0000 (15:43 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Aug 2015 20:57:30 +0000 (15:57 -0500)
There's no need to BUG() if we enable ATS when it's already enabled.  We
don't need to BUG() when disabling ATS on a device that doesn't support ATS
or if it's already disabled.  If ATS is enabled, certainly we found an ATS
capability in the past, so it should still be there now.

Clean up these error paths.

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

Simple merge