Jan Beulich
2011-Mar-25 16:25 UTC
[Xen-devel] [PATCH] x86/ATS: remove unreferenced lock member from struct pci_ats_dev
Otherwise this may give the false impression the some explicit locking is done in this code. Signed-off-by: Jan Beulich <jbeulich@novell.com> --- 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); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel