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>
This commit is contained in:
parent
7526a46884
commit
a16d77fc05
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user