mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sangho Yi <antiroot@gmail.com>
To: devel@driverdev.osuosl.org
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	Sangho Yi <antiroot@gmail.com>
Subject: [PATCH 10/14] staging: csr: Fixed return(xxx); --> return xxx; on io.c
Date: Tue, 16 Oct 2012 02:25:32 +0900	[thread overview]
Message-ID: <1350321936-2664-1-git-send-email-antiroot@gmail.com> (raw)
In-Reply-To: <n>

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


             reply	other threads:[~2012-10-15 17:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 17:25 Sangho Yi [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1350321936-2664-1-git-send-email-antiroot@gmail.com \
    --to=antiroot@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®