Staging: speakup: Remove braces for single statement blocks
The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The warning was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7273773c2c
commit
ca0b6fe173
|
@ -291,10 +291,9 @@ static void do_catch_up(struct spk_synth *synth)
|
|||
|
||||
static void synth_flush(struct spk_synth *synth)
|
||||
{
|
||||
if (in_escape) {
|
||||
if (in_escape)
|
||||
/* if in command output ']' so we don't get an error */
|
||||
spk_serial_out(']');
|
||||
}
|
||||
in_escape = 0;
|
||||
is_flushing = 1;
|
||||
spk_serial_out(SYNTH_CLEAR);
|
||||
|
|
Loading…
Reference in New Issue