[IPoIB] use spin_trylock_irqsave()
authorRoland Dreier <rolandd@cisco.com>
Sat, 29 Oct 2005 20:54:40 +0000 (13:54 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sat, 29 Oct 2005 20:54:40 +0000 (13:54 -0700)
commita20583a7c2e35d80b1dfc1f60c9729498838725e
treee7fbd856e7522b65d309e9dfd425541d8f45a0bd
parentaffcd50546d4788b7849e2b2e2ec7bc50d64c5f8
[IPoIB] use spin_trylock_irqsave()

Use spin_trylock_irqsave() in ipoib_start_xmit() instead of
reinventing it out of local_irq_save(), spin_trylock() and
local_irq_restore().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c