atm: nicstar: remove interruptible_sleep_on_timeout
authorArnd Bergmann <arnd@arndb.de>
Thu, 27 Feb 2014 18:51:54 +0000 (19:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2014 20:22:46 +0000 (15:22 -0500)
commit118ce7ab9785846e1c673f6130bee526c127206c
tree075607f8255daa22d47ab966b61c44881ad78d79
parent740b0f1841f6e39085b711d41db9ffb07198682b
atm: nicstar: remove interruptible_sleep_on_timeout

We are trying to finally kill off interruptible_sleep_on_timeout.
the two uses in the nicstar driver can be trivially replaced
with wait_event_interruptible_lock_irq_timeout, which prevents the
wake-up race and is able to check the buffer state with scq->lock
held.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/nicstar.c