forked from Minki/linux
staging: speakup: remove unnecessary space before semicolon
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>
This commit is contained in:
parent
1d2a01eb40
commit
1f2a55f23f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user