Skip to content

Commit

Permalink
Staging: zcache: remove unnecessary braces in zcache-main.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ryo Munakata authored and Greg Kroah-Hartman committed Jan 30, 2013
1 parent 2643c47 commit 05014d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/zcache/zcache-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 05014d7

Please sign in to comment.