]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/zswap.c
mm/zswap.c: remove unnecessary parentheses
[karo-tx-linux.git] / mm / zswap.c
index c0c9b7c80c054dc35b34d3754222d03e7762ffab..34b75cc708276d920b38404a2623eaf64efe308a 100644 (file)
@@ -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;
 }
 
 /*********************************