diff options
| author | Thomas Gleixner <[email protected]> | 2020-09-29 20:25:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-09-29 21:02:54 +0000 |
| commit | 8aed9064c6a51b2ed33812e85eab600f578e92c0 (patch) | |
| tree | 977e0e6cb24395dc8920e33408f4c109d45e53fe /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | net: cxgb3: Cleanup in_interrupt() usage (diff) | |
| download | kernel-8aed9064c6a51b2ed33812e85eab600f578e92c0.tar.gz kernel-8aed9064c6a51b2ed33812e85eab600f578e92c0.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
