Home
last modified time | relevance | path

Searched hist:d3383aaae9800b9e13e25b71f70dff3814d10373 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/misc/cxl/
H A Dirq.cdiff d3383aaae9800b9e13e25b71f70dff3814d10373 Thu Jan 08 16:36:47 CST 2015 Colin Ian King <colin.king@canonical.com> 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>