aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraybuke ozdemir <[email protected]>2015-02-21 23:19:46 +0200
committerGreg Kroah-Hartman <[email protected]>2015-02-26 12:23:57 -0800
commit99d08456b3937cb32245e4f4d35a5469cf12d280 (patch)
tree3e6a718d57f1b7e964a7b7c816ca076e61ef9e13
parente17f5594d59d9140ee12fcfe6b8f63de2b1574cc (diff)
Staging: lustre: Removed unnecessary braces
This patch fixes checkpatch.pl warning in llite_lib.c WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: aybuke ozdemir <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/lustre/lustre/llite/llite_lib.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/llite/llite_lib.c b/drivers/staging/lustre/lustre/llite/llite_lib.c
index 0c1b583a4ea1..a2b11ef89d91 100644
--- a/drivers/staging/lustre/lustre/llite/llite_lib.c
+++ b/drivers/staging/lustre/lustre/llite/llite_lib.c
@@ -87,11 +87,10 @@ static struct ll_sb_info *ll_init_sbi(void)
si_meminfo(&si);
pages = si.totalram - si.totalhigh;
- if (pages >> (20 - PAGE_CACHE_SHIFT) < 512) {
+ if (pages >> (20 - PAGE_CACHE_SHIFT) < 512)
lru_page_max = pages / 2;
- } else {
+ else
lru_page_max = (pages / 4) * 3;
- }
/* initialize lru data */
atomic_set(&sbi->ll_cache.ccc_users, 0);