mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue