提交 05014d73 编写于 作者: R Ryo Munakata 提交者: Greg Kroah-Hartman

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: NRyo Munakata <ryomnktml@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 2643c47f
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册