mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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 <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e17f5594d5
commit
99d08456b3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user