Skip to content
Commit 76c8bf0f authored by Wojciech Sipak's avatar Wojciech Sipak Committed by Carles Cufí
Browse files

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: default avatarWojciech Sipak <wsipak@antmicro.com>
parent 78a819bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment