[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130119040950.GA18812@gmail.com>
Date: Fri, 18 Jan 2013 23:09:56 -0500
From: Jake Champlin <jake.champlin.27@...il.com>
To: gregkh@...uxfoundation.org
Cc: dan.magenheimer@...cle.com, sjenning@...ux.vnet.ibm.com,
konrad.wilk@...cle.com, dan.carpenter@...cle.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
jake.champlin.27@...il.com
Subject: [PATCH] Staging: ramster: zcache-main: Fixed Bracing Issues
Fixed Coding Style Bracing Issues
Signed-off-by: Jake Champlin <jake.champlin.27@...il.com>
---
drivers/staging/ramster/zcache-main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/ramster/zcache-main.c b/drivers/staging/ramster/zcache-main.c
index a09dd5c..2613889 100644
--- a/drivers/staging/ramster/zcache-main.c
+++ b/drivers/staging/ramster/zcache-main.c
@@ -478,6 +478,7 @@ static void zcache_free_page(struct page *page)
#ifdef ZCACHE_DEBUG
if (curr_pageframes > 2L || curr_pageframes < -2L) {
/* pr_info here */
+ /* unnecessary comment */
}
#endif
}
@@ -1017,11 +1018,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
--
Jake Champlin
jake.champlin.27@...il.com
8123742937
<MuttClient>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists