From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: [PATCH] x86/ATS: remove unreferenced lock member from struct pci_ats_dev Date: Fri, 25 Mar 2011 16:25:18 +0000 Message-ID: <4D8CCFFE02000078000386A2@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part96BA5AFE.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part96BA5AFE.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Otherwise this may give the false impression the some explicit locking is done in this code. Signed-off-by: Jan Beulich --- 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); =20 --=__Part96BA5AFE.0__= Content-Type: text/plain; name="x86-ats-no-lock.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-ats-no-lock.patch" Otherwise this may give the false impression the some explicit locking=0Ais= done in this code.=0A=0ASigned-off-by: Jan Beulich = =0A=0A--- a/xen/drivers/passthrough/vtd/x86/ats.c=0A+++ b/xen/drivers/passt= hrough/vtd/x86/ats.c=0A@@ -40,7 +40,6 @@ struct pci_ats_dev {=0A u8 = bus;=0A u8 devfn;=0A u16 ats_queue_depth; /* ATS device = invalidation queue depth */=0A- spinlock_t lock;=0A };=0A static = LIST_HEAD(ats_devices);=0A =0A --=__Part96BA5AFE.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part96BA5AFE.0__=--