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" <[email protected]>
Cc: Chris Wright <[email protected]>
Cc: Jesse Barnes <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Cc: Anthony Foiani <[email protected]>
Reported-by: Anthony Foiani <[email protected]>
Reported-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Hans J. Koch <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 file changed