]> err.no Git - linux-2.6/commit
msi: Remove msi_lock.
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 28 Jan 2007 19:44:21 +0000 (12:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:50:07 +0000 (15:50 -0800)
commitd40f540ce6d992d4123827dbd62f68c4a39c53d0
tree10c379bd4a0612b4d5f2ebceac376eebed4d84f3
parentded86d8d37736df67ddeec4ae00e2ec1a5a90b3c
msi: Remove msi_lock.

With the removal of msi_lookup_irq all of the functions using msi_lock
operated on a single device and none of them could reasonably be
called on that device at the same time.

Since what little synchronization that needs to happen needs to happen
outside of the msi functions, msi_lock could never be contended and as
such is useless and just complicates the code.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/msi.c