Skip to contentSkip to conversation

x86/ATS: remove unreferenced lock member from struct pci_ats_dev

PATCH New Jan Beulich 1 participant 1 message Mar 25, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

xen/drivers/passthrough/vtd/x86/ats.c +0 -1
@@ -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);
 

Otherwise this may give the false impression the some explicit locking is done in this code.

xen/drivers/passthrough/vtd/x86/ats.c +0 -1
@@ -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
[email protected]
http://lists.xensource.com/xen-devel