commit | 76c8bf0f7c3dc049e7a8ccdf060e8c20e6e002c8 | [log] [tgz] |
---|---|---|
author | Wojciech Sipak <wsipak@antmicro.com> | Mon Nov 27 12:10:10 2023 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Nov 29 10:09:48 2023 +0100 |
tree | 9d1f58e5febefd84b0745eaef5e2a5f7ca45a303 | |
parent | 78a819bb3391f1635bc2237aa1ceca477b24b898 [diff] |
drivers: interrupt_controller: intc_plic: rewrite `get_plic_dev_from_irq` There's a ternary operator that depends on configuration-defined macro: `CONFIG_DYNAMIC_INTERRUPTS` is not enabled by default for any of the platforms that use PLIC, it is possbile to set it to `=y` though. This triggered the Coverity check to report it as dead code. Fixes #65576. Signed-off-by: Wojciech Sipak <wsipak@antmicro.com>