diff options
author | Colin Ian King <colin.king@canonical.com> | 2015-01-08 23:36:47 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-01-22 07:31:51 +0100 |
commit | d3383aaae9800b9e13e25b71f70dff3814d10373 (patch) | |
tree | ad491ae5dfe8b32f5a020bba6954df695fa51074 /drivers/misc/cxl/trace.h | |
parent | powerpc/ps3: Enable CONFIG_PS3_REPOSITORY_WRITE in ps3_defconfig (diff) | |
download | linux-d3383aaae9800b9e13e25b71f70dff3814d10373.tar.xz linux-d3383aaae9800b9e13e25b71f70dff3814d10373.zip |
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 80fa93fce37d ("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>
Diffstat (limited to 'drivers/misc/cxl/trace.h')
0 files changed, 0 insertions, 0 deletions