From a16d77fc05750921add13ae7ac8bd7c321689181 Mon Sep 17 00:00:00 2001 From: Burcin Akalin Date: Fri, 23 Oct 2015 22:12:14 +0300 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/speakup/buffers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.7.4