commit | a5cd799523a1ddf288cf605f095a9ada29fc98d4 | [log] [tgz] |
---|---|---|
author | Kumar Gala <kumar.gala@linaro.org> | Fri Apr 10 07:31:20 2020 -0500 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Apr 10 12:38:06 2020 -0400 |
tree | b4cd2fa5d25434af20b758fbe4f35563ab8673f1 | |
parent | 071a986bb676dc10252f92052ba056cc47717195 [diff] |
arch: riscv: irq: fix build warning In arch_irq_connect_dynamic the 'level' variable is only used on platforms that define CONFIG_RISCV_HAS_PLIC. For the other platforms we'll get a warning about an unused variable. Remove the need for 'level' and just call irq_get_level() where its needed to address the issue. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>