From: SeongJae Park Date: Mon, 7 Apr 2014 22:38:28 +0000 (-0700) Subject: mm/zswap.c: remove unnecessary parentheses X-Git-Tag: v4.9.8~6596^2~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d2d42de185b77b4bc60b5ac77386c4099d71bf3;p=platform%2Fkernel%2Flinux-rpi3.git mm/zswap.c: remove unnecessary parentheses Fix following trivial checkpatch error: ERROR: return is not a function, parentheses are not required Signed-off-by: SeongJae Park Acked-by: Seth Jennings Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/zswap.c b/mm/zswap.c index c0c9b7c..34b75cc 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -204,7 +204,7 @@ static struct kmem_cache *zswap_entry_cache; static int zswap_entry_cache_create(void) { zswap_entry_cache = KMEM_CACHE(zswap_entry, 0); - return (zswap_entry_cache == NULL); + return zswap_entry_cache == NULL; } static void zswap_entry_cache_destory(void) @@ -408,8 +408,8 @@ cleanup: **********************************/ static bool zswap_is_full(void) { - return (totalram_pages * zswap_max_pool_percent / 100 < - zswap_pool_pages); + return totalram_pages * zswap_max_pool_percent / 100 < + zswap_pool_pages; } /*********************************