From: Andrea Gelmini Date: Fri, 26 Feb 2010 09:14:58 +0000 (+0100) Subject: Staging: comedi: hwdrv_apci1032.c: Checkpatch cleanup X-Git-Tag: v2.6.34-rc1~10^2~1^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=882e1233a1abb650149496b33eaeb1d09bbc0b7a;p=pandora-kernel.git Staging: comedi: hwdrv_apci1032.c: Checkpatch cleanup ERROR: do not initialise externals to 0 or NULL +unsigned int ui_InterruptStatus = 0; WARNING: braces {} are not necessary for single statement blocks + else { + outl(0x6, devpriv->iobase + APCI1032_DIGITAL_IP_IRQ); + } /* else if(data[1] == ADDIDATA_OR) */ WARNING: braces {} are not necessary for single statement blocks + if (data[1] == 1) { + *data = ui_InterruptStatus; + } /* if(data[1]==1) */ Signed-off-by: Andrea Gelmini Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed