diff options
author | 2021-06-18 08:14:20 +0200 | |
---|---|---|
committer | 2021-06-18 13:09:59 +0200 | |
commit | 9cb5c9c3226ba78e33169721f31b459e6791d6ab (patch) | |
tree | 1c1cda8b2045c6a903cad325cfbcb7f019a7d764 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mxser: extract port ISR (diff) | |
download | linux-dev-9cb5c9c3226ba78e33169721f31b459e6791d6ab.tar.xz linux-dev-9cb5c9c3226ba78e33169721f31b459e6791d6ab.zip |
mxser: simplify mxser_interrupt and drop mxser_board::vector_mask
mxser_board::vector_mask is just a bitfield with bits set for all
available ports. We can obtain this value simply by
"BIT(brd->info->nports) - 1" directly in the ISR. So remove vector_mask
and simplify the code a bit.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-15-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions