]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: ni_660x: checkpatch.pl cleanup (space prohibited)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 18:22:55 +0000 (11:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:38:00 +0000 (13:38 -0700)
Fix the checkpatch.pl warning:

WARNING: space prohibited before semicolon

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_660x.c

index 3e01978f822bcb3c29ecb66d3c1a44ca8b3b1770..673fa52c5cf38d4fb46587f04be569c0dca6f877 100644 (file)
@@ -1122,9 +1122,8 @@ static int ni_660x_auto_attach(struct comedi_device *dev,
                s = &dev->subdevices[NI_660X_GPCT_SUBDEV(i)];
                if (i < ni_660x_num_counters(dev)) {
                        s->type = COMEDI_SUBD_COUNTER;
-                       s->subdev_flags =
-                           SDF_READABLE | SDF_WRITABLE | SDF_LSAMPL |
-                           SDF_CMD_READ /* | SDF_CMD_WRITE */ ;
+                       s->subdev_flags = SDF_READABLE | SDF_WRITABLE |
+                                         SDF_LSAMPL | SDF_CMD_READ;
                        s->n_chan = 3;
                        s->maxdata = 0xffffffff;
                        s->insn_read = ni_tio_insn_read;