1
0
Fork 0

staging: speakup: Remove multiple assignments

Remove multiple assignments by factorizing them.Problem found using
checkpatch.pl
CHECK: multiple assignments should be avoided

Signed-off-by: Burcin Akalin <brcnakalin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Burcin Akalin 2015-10-23 22:12:14 +03:00 committed by Greg Kroah-Hartman
parent 7526a46884
commit a16d77fc05
1 changed files with 2 additions and 1 deletions

View File

@ -101,6 +101,7 @@ EXPORT_SYMBOL_GPL(synth_buffer_peek);
void synth_buffer_clear(void)
{
buff_in = buff_out = synth_buffer;
buff_in = synth_buffer;
buff_out = synth_buffer;
}
EXPORT_SYMBOL_GPL(synth_buffer_clear);