From: Ryo Munakata <ryomnktml@gmail.com>
To: gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
ryomnktml@gmail.com
Subject: [PATCH -next] Staging: zcache: remove unnecessary braces in zcache-main.c
Date: Sat, 26 Jan 2013 19:50:53 +0900 [thread overview]
Message-ID: <1359197453-26178-1-git-send-email-ryomnktml@gmail.com> (raw)
This fixes a checkpatch.pl issue of
'braces {} are not necessary for single statement blocks'
Signed-off-by: Ryo Munakata <ryomnktml@gmail.com>
---
drivers/staging/zcache/zcache-main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c
index 6ab13e1..c1ac905 100644
--- a/drivers/staging/zcache/zcache-main.c
+++ b/drivers/staging/zcache/zcache-main.c
@@ -1017,11 +1017,10 @@ static int zcache_frontswap_unuse(void)
unuse_ret = frontswap_unuse(type, offset,
newpage2 != NULL ? newpage2 : evictpage2,
ZCACHE_GFP_MASK);
- if (unuse_ret != 0) {
+ if (unuse_ret != 0)
goto free_and_out;
- } else if (evictpage2 != NULL) {
+ else if (evictpage2 != NULL)
zcache_unacct_page();
- }
}
ret = 0;
goto out;
--
1.8.1.1
reply other threads:[~2013-01-26 10:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1359197453-26178-1-git-send-email-ryomnktml@gmail.com \
--to=ryomnktml@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®