From: Andrea Gelmini Date: Fri, 26 Feb 2010 09:14:55 +0000 (+0100) Subject: Staging: comedi: comedi_fops.c: Checkpatch cleanup X-Git-Tag: v2.6.34-rc1~10^2~1^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6705b68d0be284e2f9949f3657ea65d426d0f988;p=pandora-kernel.git Staging: comedi: comedi_fops.c: Checkpatch cleanup ERROR: do not initialise externals to 0 or NULL +int comedi_num_legacy_minors = 0; WARNING: braces {} are not necessary for single statement blocks + if (s->subdev_flags & SDF_CMD_READ) { + kill_fasync(&dev->async_queue, SIGIO, POLL_IN); + } WARNING: braces {} are not necessary for single statement blocks + if (s->subdev_flags & SDF_CMD_WRITE) { + kill_fasync(&dev->async_queue, SIGIO, POLL_OUT); + } Signed-off-by: Andrea Gelmini Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed