ide/falcon: remove in_interrupt() usage
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 15 Dec 2020 03:03:24 +0000 (19:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2020 20:13:36 +0000 (12:13 -0800)
commit483e6417aea5c6d278e6aa7facc50d961d95a0a9
treecd8fdd87234e7de2a586ed94791273ba450c815d
parenta85cbe6159ffc973e5702f70a3bd5185f8f3c38d
ide/falcon: remove in_interrupt() usage

falconide_get_lock() is called by ide_lock_host() and its caller
(ide_issue_rq()) has already a might_sleep() check.

stdma_lock() has wait_event() which also has a might_sleep() check.

Remove the in_interrupt() check.

Link: https://lkml.kernel.org/r/20201113161021.2217361-2-bigeasy@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ide/falconide.c