OpenCloudOS-Kernel/drivers/misc/cxl
Colin Ian King d3383aaae9 cxl: remove redundant increment of hwirq
hwirq has not been initialized, however it is being incremented
and also not being referenced in a loop.  This error was detected with
cppcheck:

[drivers/misc/cxl/irq.c:439]: (error) Uninitialized variable: hwirq

Commit 80fa93fce3 ("cxl: Name interrupts in /proc/interrupt")
introduced this error.

This is a simple fix that removes the redundant increment.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-By: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-01-22 17:31:51 +11:00
..
Kconfig cxl: Add driver to Kbuild and Makefiles 2014-10-08 20:15:58 +11:00
Makefile cxl: Add driver to Kbuild and Makefiles 2014-10-08 20:15:58 +11:00
base.c
context.c cxl: Unmap MMIO regions when detaching a context 2014-12-12 13:06:48 +11:00
cxl.h cxl: Disable AFU debug flag 2014-12-29 15:45:43 +11:00
debugfs.c cxl: Driver code for powernv PCIe based cards for userspace access 2014-10-08 20:15:57 +11:00
fault.c cxl: Early return from cxl_handle_fault for a shut down context 2014-12-29 15:45:43 +11:00
file.c cxl: Fix leaking interrupts if attach process fails 2014-12-29 15:45:43 +11:00
irq.c cxl: remove redundant increment of hwirq 2015-01-22 17:31:51 +11:00
main.c cxl: Driver code for powernv PCIe based cards for userspace access 2014-10-08 20:15:57 +11:00
native.c cxl: Disable SPAP register when freeing SPA 2014-12-29 15:45:44 +11:00
pci.c cxl: Disable AFU debug flag 2014-12-29 15:45:43 +11:00
sysfs.c cxl: Change contexts_lock to a mutex to fix sleep while atomic bug 2014-12-12 13:06:47 +11:00