Commit c67095ce authored by Walt Feasel's avatar Walt Feasel Committed by Greg Kroah-Hartman

staging: speakup: synth.c Spaces around operators

Make suggested checkpatch modification for
CHECK: spaces preferred around that '|,+,-,/'
Signed-off-by: default avatarWalt Feasel <waltfeasel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dd451964
...@@ -303,11 +303,11 @@ void spk_get_index_count(int *linecount, int *sentcount) ...@@ -303,11 +303,11 @@ void spk_get_index_count(int *linecount, int *sentcount)
sentence_count = ind % 10; sentence_count = ind % 10;
if ((ind / 10) <= synth->indexing.currindex) if ((ind / 10) <= synth->indexing.currindex)
index_count = synth->indexing.currindex-(ind/10); index_count = synth->indexing.currindex - (ind / 10);
else else
index_count = synth->indexing.currindex index_count = synth->indexing.currindex
-synth->indexing.lowindex - synth->indexing.lowindex
+ synth->indexing.highindex-(ind/10)+1; + synth->indexing.highindex - (ind / 10) + 1;
} }
*sentcount = sentence_count; *sentcount = sentence_count;
...@@ -476,10 +476,10 @@ void synth_remove(struct spk_synth *in_synth) ...@@ -476,10 +476,10 @@ void synth_remove(struct spk_synth *in_synth)
break; break;
} }
for ( ; synths[i] != NULL; i++) /* compress table */ for ( ; synths[i] != NULL; i++) /* compress table */
synths[i] = synths[i+1]; synths[i] = synths[i + 1];
module_status = 0; module_status = 0;
mutex_unlock(&spk_mutex); mutex_unlock(&spk_mutex);
} }
EXPORT_SYMBOL_GPL(synth_remove); EXPORT_SYMBOL_GPL(synth_remove);
short spk_punc_masks[] = { 0, SOME, MOST, PUNC, PUNC|B_SYM }; short spk_punc_masks[] = { 0, SOME, MOST, PUNC, PUNC | B_SYM };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment