diff options
author | Ahmed S. Darwish <[email protected]> | 2020-10-26 15:03:13 +0100 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2020-10-27 09:36:36 +0100 |
commit | 1fcf689181e95f3a289f42806fff38fb15a66b61 (patch) | |
tree | 860e421ef5613cb7001ed0366604062585cde1f4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) |
USB: serial: digi_acceleport: remove in_interrupt() usage
The usage of in_interrupt() in drivers is phased out and Linus clearly
requested that code which changes behaviour depending on context should
either be separated or the context be conveyed in an argument passed by the
caller, which usually knows the context.
The debug printk() in digi_write() prints in_interrupt() as context
information. This information is imprecise as it does not distinguish
between hard-IRQ or disabled bottom half and it does not consider
disabled interrupts or preemption. It is not really helpful.
Remove the in_interrupt() printout.
Signed-off-by: Ahmed S. Darwish <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ johan: amend commit message ]
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions