summaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio_cif.c
diff options
context:
space:
mode:
authorHans J. Koch <hjk@hansjkoch.de>2011-08-09 20:53:41 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-22 17:52:00 -0700
commit4e0b72fd7444e07e2870d193ce8fb6b0b00f5a89 (patch)
treed81946567cef8109de9e95e64bee846f5986f13d /drivers/uio/uio_cif.c
parenta406f75840e15afbabd98cb64ae36b51424a8033 (diff)
downloadop-kernel-dev-4e0b72fd7444e07e2870d193ce8fb6b0b00f5a89.zip
op-kernel-dev-4e0b72fd7444e07e2870d193ce8fb6b0b00f5a89.tar.gz
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" <mst@redhat.com> Cc: Chris Wright <chrisw@redhat.com> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Anthony Foiani <anthony.foiani@gmail.com> Reported-by: Anthony Foiani <anthony.foiani@gmail.com> Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Hans J. Koch <hjk@hansjkoch.de> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/uio/uio_cif.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud