lkml.org 
[lkml]   [2014]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Staging: speakup: buffers: Fixed a return value coding style issue.
Date
Fixed a coding style issue.

Signed-off-by: Reza Snowdon <rs@mage.me.uk>
---
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 382973e..8d7caa7 100644
--- a/drivers/staging/speakup/buffers.c
+++ b/drivers/staging/speakup/buffers.c
@@ -55,7 +55,8 @@ static int synth_buffer_free(void)

int synth_buffer_empty(void)
{
- return (buff_in == buff_out);
+ int buff_comparison = (buff_in == buff_out);
+ return buff_comparison;
}
EXPORT_SYMBOL_GPL(synth_buffer_empty);

--
1.7.10.4


\
 
 \ /
  Last update: 2014-02-28 12:41    [W:0.085 / U:22.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site