From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH v2 11/11] PCI: Remove pci_ats_enabled() Date: Mon, 27 Jul 2015 14:58:57 +0200 Message-ID: <20150727125857.GF27614@suse.de> References: <20150721001243.28145.81610.stgit@bhelgaas-glaptop2.roam.corp.google.com> <20150721001519.28145.73458.stgit@bhelgaas-glaptop2.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150721001519.28145.73458.stgit-1RhO1Y9PlrlHTL0Zs8A6p/gx64E7kk8eUsxypvmhUTTZJqsBc5GL+g@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Bjorn Helgaas Cc: linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, David Woodhouse , Gregor Dick List-Id: iommu@lists.linux-foundation.org On Mon, Jul 20, 2015 at 07:15:19PM -0500, Bjorn Helgaas wrote: > 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 > --- > drivers/pci/ats.c | 6 +++--- > include/linux/pci.h | 2 -- > 2 files changed, 3 insertions(+), 5 deletions(-) Reviewed-by: Joerg Roedel