* [PATCH -next] Staging: zcache: remove unnecessary braces in zcache-main.c
@ 2013-01-26 10:50 Ryo Munakata
0 siblings, 0 replies; only message in thread
From: Ryo Munakata @ 2013-01-26 10:50 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, ryomnktml
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-26 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-26 10:50 [PATCH -next] Staging: zcache: remove unnecessary braces in zcache-main.c Ryo Munakata
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®