summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-gic-v3-its.c
diff options
context:
space:
mode:
authorAntonio Borneo <antonio.borneo@foss.st.com>2022-08-17 15:57:58 +0300
committerMarc Zyngier <maz@kernel.org>2022-09-12 18:31:25 +0300
commit8fc7a6198a80bc39b6c5b3cc1a578e7d24f068a2 (patch)
tree823f3c82c4dbe26a02061f5a81c97b583b25a24c /drivers/irqchip/irq-gic-v3-its.c
parentb90cb1053190353cc30f0fef0ef1f378ccc063c5 (diff)
downloadlinux-8fc7a6198a80bc39b6c5b3cc1a578e7d24f068a2.tar.xz
irqchip/stm32-exti: Remove check on always false condition
The field drv_data is assigned during driver's probe, where it's already checked to be not NULL. Remove the always false check '!host_data->drv_data'. This fixes a warning "variable dereferenced before check" detected by '0-DAY CI Kernel Test Service'. Fixes: c297493336b7 ("irqchip/stm32-exti: Simplify irq description table") Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/lkml/202208131739.gJvcs9ls-lkp@intel.com/ Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220817125758.5975-1-antonio.borneo@foss.st.com
Diffstat (limited to 'drivers/irqchip/irq-gic-v3-its.c')
0 files changed, 0 insertions, 0 deletions