>From a2dda399463c20f63306e31b743e0c9c3be2ca3a Mon Sep 17 00:00:00 2001 From: Reza Snowdon Date: Thu, 27 Feb 2014 17:57:59 +0000 Subject: [PATCH] Staging: speakup: buffers: Fixed a return coding style issue When checking buffers.c with checkpatch.pl it throws the following error: drivers/staging/speakup/buffers.c:58: ERROR: return is not a function, parentheses are not required Fixed error by removing parenthesis. Signed-off-by: Reza Snowdon --- drivers/staging/speakup/buffers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/buffers.c b/drivers/staging/speakup/buffers.c index 382973e..5e6ec13 100644 --- a/drivers/staging/speakup/buffers.c +++ b/drivers/staging/speakup/buffers.c @@ -55,7 +55,7 @@ static int synth_buffer_free(void) int synth_buffer_empty(void) { - return (buff_in == buff_out); + return buff_in == buff_out; } EXPORT_SYMBOL_GPL(synth_buffer_empty); -- 1.7.10.4