[PATCH] Staging: speakup: buffers: Fixed a return coding style issue

From: Reza Snowdon
Date: Thu Feb 27 2014 - 12:57:59 EST


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 <rs@xxxxxxxxxx>
---
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


--------------070703090107090505070208--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/