mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 10/14] staging: csr: Fixed return(xxx); --> return xxx; on io.c
@ 2012-10-15 17:25 Sangho Yi
  2012-10-15 17:25 ` [PATCH 11/14] staging: csr: Fixed minor coding style error like array = {{..}}; Sangho Yi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sangho Yi @ 2012-10-15 17:25 UTC (permalink / raw)
  To: devel; +Cc: gregkh, linux-kernel, Sangho Yi

I just fixed the coding style errors like return(xxx); to return xxx;.

Signed-off-by: Sangho Yi <antiroot@gmail.com>
---
 drivers/staging/csr/io.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/csr/io.c b/drivers/staging/csr/io.c
index e85fe94..ae069f0 100644
--- a/drivers/staging/csr/io.c
+++ b/drivers/staging/csr/io.c
@@ -956,7 +956,7 @@ uf_read_proc(char *page, char **start, off_t offset, int count,
 	if (offset >= written) {
 		*eof = 1;
 		kfree(orig_p);
-		return(0);
+		return 0;
 	}
 
 	if (offset + count > written) {
@@ -970,7 +970,7 @@ uf_read_proc(char *page, char **start, off_t offset, int count,
 
 	kfree(orig_p);
 
-	return(actual_amount_to_copy);
+	return actual_amount_to_copy;
 } /* uf_read_proc() */
 #endif
 
-- 
1.7.9.5


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

end of thread, other threads:[~2012-10-15 17:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-15 17:25 [PATCH 10/14] staging: csr: Fixed return(xxx); --> return xxx; on io.c Sangho Yi
2012-10-15 17:25 ` [PATCH 11/14] staging: csr: Fixed minor coding style error like array = {{..}}; Sangho Yi
2012-10-15 17:25 ` [PATCH 12/14] staging: csr: Removed a trailing whitespace from io.c Sangho Yi
2012-10-15 17:25 ` [PATCH 13/14] staging: csr: Encapsulated (parenthesis'd) complex macro value on io.c Sangho Yi
2012-10-15 17:25 ` [PATCH 14/14] staging: csr: Removed braces {} on single line for, if statements Sangho Yi

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

all inboxes | Powered by JetHome®