diff options
author | Burcin Akalin <brcnakalin@gmail.com> | 2015-10-23 22:12:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-24 19:44:30 -0700 |
commit | a16d77fc05750921add13ae7ac8bd7c321689181 (patch) | |
tree | 8f57b1da3160109c3963658a0ecbc991c7252bf5 /drivers | |
parent | 7526a468841f463e24c3756a139623b24d1408e6 (diff) | |
download | op-kernel-dev-a16d77fc05750921add13ae7ac8bd7c321689181.zip op-kernel-dev-a16d77fc05750921add13ae7ac8bd7c321689181.tar.gz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/speakup/buffers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/speakup/buffers.c b/drivers/staging/speakup/buffers.c index d4d4598..8565c23 100644 --- a/drivers/staging/speakup/buffers.c +++ b/drivers/staging/speakup/buffers.c @@ -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); |