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)
|
if (!cp)
|
||||||
cp = spk_punc_info[which].value;
|
cp = spk_punc_info[which].value;
|
||||||
else {
|
else {
|
||||||
for ( ; *cp; cp++) {
|
for (; *cp; cp++) {
|
||||||
if (*cp < SPACE)
|
if (*cp < SPACE)
|
||||||
break;
|
break;
|
||||||
if (mask < PUNC) {
|
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;
|
cp = (u_char *)input;
|
||||||
}
|
}
|
||||||
if (how&2) {
|
if (how&2) {
|
||||||
for ( ; *cp; cp++)
|
for (; *cp; cp++)
|
||||||
if (*cp > SPACE)
|
if (*cp > SPACE)
|
||||||
spk_chartab[*cp] |= mask;
|
spk_chartab[*cp] |= mask;
|
||||||
} else {
|
} else {
|
||||||
for ( ; *cp; cp++)
|
for (; *cp; cp++)
|
||||||
if (*cp > SPACE)
|
if (*cp > SPACE)
|
||||||
spk_chartab[*cp] &= ~mask;
|
spk_chartab[*cp] &= ~mask;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user