Subject: [merged] mm-zswapc-remove-unnecessary-parentheses.patch removed from -mm tree To: sj38.park@xxxxxxxxx,sjennings@xxxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 08 Apr 2014 14:14:08 -0700 The patch titled Subject: mm/zswap.c: remove unnecessary parentheses has been removed from the -mm tree. Its filename was mm-zswapc-remove-unnecessary-parentheses.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: SeongJae Park <sj38.park@xxxxxxxxx> Subject: 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 <sj38.park@xxxxxxxxx> Acked-by: Seth Jennings <sjennings@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/zswap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN mm/zswap.c~mm-zswapc-remove-unnecessary-parentheses mm/zswap.c --- a/mm/zswap.c~mm-zswapc-remove-unnecessary-parentheses +++ a/mm/zswap.c @@ -204,7 +204,7 @@ static struct kmem_cache *zswap_entry_ca 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; } /********************************* _ Patches currently in -mm which might be from sj38.park@xxxxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html