From: Hans J. Koch Date: Tue, 9 Aug 2011 18:53:41 +0000 (+0200) Subject: uio: uio_pci_generic: Remove useless spin_lock X-Git-Tag: v3.2-rc1~184^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e0b72fd7444e07e2870d193ce8fb6b0b00f5a89;p=pandora-kernel.git uio: uio_pci_generic: Remove useless spin_lock The spin_lock in uio_pci_generic.c is only used in the interrupt handler, which cannot be executed twice at the same time. That makes the lock rather pointless. This patch removes it. Cc: "Michael S. Tsirkin" Cc: Chris Wright Cc: Jesse Barnes Cc: Sebastian Andrzej Siewior Cc: Anthony Foiani Reported-by: Anthony Foiani Reported-by: Sebastian Andrzej Siewior Signed-off-by: Hans J. Koch Acked-by: Michael S. Tsirkin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed