EDAC, qcom_edac: Remove irq_handled local variable
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 18 Oct 2018 14:15:22 +0000 (17:15 +0300)
committerBorislav Petkov <bp@suse.de>
Tue, 6 Nov 2018 11:03:16 +0000 (12:03 +0100)
commit8fd8cbfeada59d381c49ad700607376416e2fdd8
tree65f57c0d7bd692842defeec52c58d44c0f40b836
parent1a81361f75d8a5cbe9d77c30fe0f42b7cda621c8
EDAC, qcom_edac: Remove irq_handled local variable

irq_handled isn't initialized to false on function entry. However, it is
not really needed and the IRQ handler return value can be set directly
instead.

 [ bp: rewrite commit message. ]

Fixes: 27450653f1db ("drivers: edac: Add EDAC driver support for QCOM SoCs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
CC: Channagoud Kadabi <ckadabi@codeaurora.org>
CC: Mauro Carvalho Chehab <mchehab@kernel.org>
CC: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
CC: kernel-janitors@vger.kernel.org
CC: linux-arm-msm@vger.kernel.org
CC: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20181018141522.rywdvjmlpk4ticiw@kili.mountain
drivers/edac/qcom_edac.c