diff options
author | 2020-09-29 22:25:27 +0200 | |
---|---|---|
committer | 2020-09-29 14:02:54 -0700 | |
commit | a1f467463ce0cf8515b1a619f3bbfa37fd6fa7b3 (patch) | |
tree | 9b2ba8861404fcdb6d04a55831e14f0a71dbf6ae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: sunbmac: Replace in_interrupt() usage (diff) | |
download | wireguard-linux-a1f467463ce0cf8515b1a619f3bbfa37fd6fa7b3.tar.xz wireguard-linux-a1f467463ce0cf8515b1a619f3bbfa37fd6fa7b3.zip |
net: sun3lance: Remove redundant checks in interrupt handler
lance_interrupt() contains two pointless checks:
- A check whether the 'dev_id' argument is NULL. 'dev_id' is the pointer
which was handed in to request_irq() and the interrupt handler will
always be invoked with that pointer as 'dev_id' argument by the core
code.
- A check for interrupt reentrancy. The core code already guarantees
non-reentrancy of interrupt handlers.
Remove these check.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions