]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: drivers: pcl816.c remove leading space
authorChandra S Gorentla <csgorentla@gmail.com>
Mon, 20 Jul 2015 11:23:15 +0000 (16:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 03:54:38 +0000 (20:54 -0700)
Checkpatch.pl warning - suspect code indent for conditional statements -
is corrected

Signed-off-by: Chandra S Gorentla <csgorentla@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcl816.c

index 781b321587dc601a954af44459a7044ada205613..a353d1b155bbd270dec44f6d1dba60384a6c3afd 100644 (file)
@@ -305,7 +305,7 @@ static int check_channel_list(struct comedi_device *dev,
                chansegment[0] = chanlist[0];
                for (i = 1, seglen = 1; i < chanlen; i++, seglen++) {
                        /*  we detect loop, this must by finish */
-                           if (chanlist[0] == chanlist[i])
+                       if (chanlist[0] == chanlist[i])
                                break;
                        nowmustbechan =
                            (CR_CHAN(chansegment[i - 1]) + 1) % chanlen;