[PATCH 10/14] staging: csr: Fixed return(xxx); --> return xxx; on io.c

Sangho Yi antiroot at gmail.com
Mon Oct 15 17:25:32 UTC 2012


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

Signed-off-by: Sangho Yi <antiroot at 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




More information about the devel mailing list