1
0
Fork 0

Staging: zcache: remove unnecessary braces in zcache-main.c

This fixes a checkpatch.pl issue of
'braces {} are not necessary for single statement blocks'

Signed-off-by: Ryo Munakata <ryomnktml@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Ryo Munakata 2013-01-26 19:50:53 +09:00 committed by Greg Kroah-Hartman
parent 2643c47fa4
commit 05014d73d6
1 changed files with 2 additions and 3 deletions

View File

@ -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;