From: Jan Beulich Date: Sat, 26 Mar 2011 09:30:38 +0000 (+0000) Subject: x86/ATS: remove unreferenced lock member from struct pci_ats_dev X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a3bb65086b8bebd7f7d3c5f7bbb8885647850cf5;p=xen.git x86/ATS: remove unreferenced lock member from struct pci_ats_dev Otherwise this may give the false impression that some explicit locking is done in this code. Signed-off-by: Jan Beulich --- diff --git a/xen/drivers/passthrough/vtd/x86/ats.c b/xen/drivers/passthrough/vtd/x86/ats.c index 8a48696727..de7dab46ee 100644 --- a/xen/drivers/passthrough/vtd/x86/ats.c +++ b/xen/drivers/passthrough/vtd/x86/ats.c @@ -40,7 +40,6 @@ struct pci_ats_dev { u8 bus; u8 devfn; u16 ats_queue_depth; /* ATS device invalidation queue depth */ - spinlock_t lock; }; static LIST_HEAD(ats_devices);