public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: speakup: buffers: Fixed a return value coding style issue.
@ 2014-02-27 16:26 Reza Snowdon
  2014-02-27 16:40 ` Greg KH
  2014-02-27 16:47 ` Dan Carpenter
  0 siblings, 2 replies; 5+ messages in thread
From: Reza Snowdon @ 2014-02-27 16:26 UTC (permalink / raw)
  To: gregkh; +Cc: speakup, devel, linux-kernel, Reza Snowdon

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-27 19:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27 16:26 [PATCH] Staging: speakup: buffers: Fixed a return value coding style issue Reza Snowdon
2014-02-27 16:40 ` Greg KH
2014-02-27 18:12   ` rs
2014-02-27 19:10     ` Greg KH
2014-02-27 16:47 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox