diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-09-29 22:25:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-29 14:02:54 -0700 |
commit | 8aed9064c6a51b2ed33812e85eab600f578e92c0 (patch) | |
tree | 977e0e6cb24395dc8920e33408f4c109d45e53fe /mm/rmap.c | |
parent | a17409e73bc559e9619d478fab92c8a160b77ff9 (diff) |
net: cxbg4: Remove pointless in_interrupt() check
t4_sge_stop() is only ever called from task context and the in_interrupt()
check is presumably a leftover from copying t3_sge_stop().
Aside of in_interrupt() being deprecated because it's not providing what it
claims to provide, this check would paper over illegitimate callers.
The functions invoked from t4_sge_stop() contain already warnings to catch
invocations from invalid contexts.
Remove it.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions