diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2020-11-01 22:15:29 +0100 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2020-11-07 17:52:16 +0200 |
| commit | ce4dd05cbba697c748d9b665bd05467910318811 (patch) | |
| tree | d9c00f8ae01160d966427527489083794d6ed9e0 /tools/perf/scripts/python | |
| parent | 28606150768a20b291a35dbbbb0ab4dd7d4739db (diff) | |
orinoco: Remove BUG_ON(in_interrupt/irq())
The usage of in_irq()/in_interrupt() in drivers is phased out and the
BUG_ON()'s based on those are not covering all contexts in which these
functions cannot be called.
Aside of that BUG_ON() should only be used as last resort, which is clearly
not the case here.
A broad variety of checks in the invoked functions (always enabled or debug
option dependent) cover these conditions already, so the BUG_ON()'s do not
really provide additional value.
Just remove them.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Cc: Kalle Valo <[email protected]>
Cc: [email protected]
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions