diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2021-06-18 08:14:20 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-18 13:09:59 +0200 |
| commit | 9cb5c9c3226ba78e33169721f31b459e6791d6ab (patch) | |
| tree | 1c1cda8b2045c6a903cad325cfbcb7f019a7d764 /scripts/gdb/linux/utils.py | |
| parent | 9e40ea1f785292356cfb39aafff7d346b46d8b4f (diff) | |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
