From: Colin Ian King Date: Thu, 8 Jan 2015 22:36:47 +0000 (+0000) Subject: cxl: remove redundant increment of hwirq X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~116^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3383aaae9800b9e13e25b71f70dff3814d10373;p=pandora-kernel.git 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 Acked-By: Ian Munsie Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed