Staging: zcache: remove unnecessary braces in zcache-main.c
PATCH 1/1 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 <[email protected]>
--- drivers/staging/zcache/zcache-main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/staging/zcache/zcache-main.c +2 -3
@@ -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;
Signature · 1 line
1.8.1.1