diff options
author | Ryo Munakata <ryomnktml@gmail.com> | 2013-01-26 19:50:53 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-29 23:22:16 -0500 |
commit | 05014d73d68a0f5203fc78eb58e6d7e512581695 (patch) | |
tree | 7e5747d2c98c17be2451369db713daf5f3bb1e5f /drivers/staging | |
parent | 2643c47fa4accb49abf46a1486909e20e4bb5df9 (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/zcache/zcache-main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c index 6ab13e123e7b..c1ac905759bd 100644 --- a/drivers/staging/zcache/zcache-main.c +++ b/drivers/staging/zcache/zcache-main.c @@ -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; |