staging: speakup: remove unnecessary space before semicolon
authorNandini Hanumanthagowda <nandu.hgowda@gmail.com>
Sun, 13 Oct 2013 10:51:07 +0000 (16:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Oct 2013 16:15:27 +0000 (09:15 -0700)
Removed unnecessary space before semicolon which was
leading to checkpatch.pl warning.

Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/varhandlers.c

index 70231b6..445a3fd 100644 (file)
@@ -280,7 +280,7 @@ int spk_set_mask_bits(const char *input, const int which, const int how)
        if (!cp)
                cp = spk_punc_info[which].value;
        else {
-               for ( ; *cp; cp++) {
+               for (; *cp; cp++) {
                        if (*cp < SPACE)
                                break;
                        if (mask < PUNC) {
@@ -294,11 +294,11 @@ int spk_set_mask_bits(const char *input, const int which, const int how)
                cp = (u_char *)input;
        }
        if (how&2) {
-               for ( ; *cp; cp++)
+               for (; *cp; cp++)
                        if (*cp > SPACE)
                                spk_chartab[*cp] |= mask;
        } else {
-               for ( ; *cp; cp++)
+               for (; *cp; cp++)
                        if (*cp > SPACE)
                                spk_chartab[*cp] &= ~mask;
        }