diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2020-11-16 17:21:16 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-18 16:43:59 -0800 |
commit | 2de680dea6a888271087521a9501a74af57fa076 (patch) | |
tree | ff45981fe756f42c893c2176adb2e821f84af4d9 /lib/klist.c | |
parent | f2bcc2fa275b913093ff5b403be5d11342fdb055 (diff) | |
download | linux-stable-2de680dea6a888271087521a9501a74af57fa076.tar.gz linux-stable-2de680dea6a888271087521a9501a74af57fa076.tar.bz2 linux-stable-2de680dea6a888271087521a9501a74af57fa076.zip |
atm: lanai: Remove in_interrupt() usage
lanai_shutdown_tx_vci() uses in_interrupt() to issue a warning message
if the function was used in context in which it is not safe to sleep.
The usage of in_interrupt() in driver code is deprecated as it can not always
detect all states where it is not allowed to sleep.
msleep() has debug code which will trigger a warning if used in bad
context.
Remove in_interrupt().
Cc: Chas Williams <3chas3@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions