Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05014d73 authored by Ryo Munakata's avatar Ryo Munakata Committed by Greg Kroah-Hartman
Browse files

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: default avatarRyo Munakata <ryomnktml@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2643c47f
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -1017,12 +1017,11 @@ static int zcache_frontswap_unuse(void)
		unuse_ret = frontswap_unuse(type, offset,
		unuse_ret = frontswap_unuse(type, offset,
				newpage2 != NULL ? newpage2 : evictpage2,
				newpage2 != NULL ? newpage2 : evictpage2,
				ZCACHE_GFP_MASK);
				ZCACHE_GFP_MASK);
		if (unuse_ret != 0) {
		if (unuse_ret != 0)
			goto free_and_out;
			goto free_and_out;
		} else if (evictpage2 != NULL) {
		else if (evictpage2 != NULL)
			zcache_unacct_page();
			zcache_unacct_page();
	}
	}
	}
	ret = 0;
	ret = 0;
	goto out;
	goto out;