diff options
| author | Colin Ian King <[email protected]> | 2015-01-08 22:36:47 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2015-01-22 17:31:51 +1100 |
| commit | d3383aaae9800b9e13e25b71f70dff3814d10373 (patch) | |
| tree | ad491ae5dfe8b32f5a020bba6954df695fa51074 /tools/perf/scripts/python | |
| parent | d83fb87b2e02ca34abf281c181682cbdfae23a80 (diff) | |
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 <[email protected]>
Acked-By: Ian Munsie <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions