diff options
| author | Johannes Berg <[email protected]> | 2020-12-02 11:59:54 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2020-12-13 21:22:23 +0000 |
| commit | 0737402f42d3cdc7b7ef27e8cc7caf1e9ba2a2bc (patch) | |
| tree | 980d03d11fec208016c0b3745bf12e06f4efc75a /arch/um/drivers/virtio_uml.c | |
| parent | um: irq: Clean up and rename struct irq_fd (diff) | |
| download | kernel-0737402f42d3cdc7b7ef27e8cc7caf1e9ba2a2bc.tar.gz kernel-0737402f42d3cdc7b7ef27e8cc7caf1e9ba2a2bc.zip | |
um: irq: Reduce irq_reg allocation
We don't need an array of 4 entries to capture three and the
name 'MAX_IRQ_TYPE' really gets confusing as well. Remove it
and add a correct NUM_IRQ_TYPES, and use that correctly.
Signed-off-by: Johannes Berg <[email protected]>
Acked-By: Anton Ivanov <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/drivers/virtio_uml.c')
0 files changed, 0 insertions, 0 deletions
