diff options
-rw-r--r-- | mm/zswap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/zswap.c b/mm/zswap.c index c0c9b7c80c05..34b75cc70827 100644 --- a/mm/zswap.c +++ b/mm/zswap.c | |||
@@ -204,7 +204,7 @@ static struct kmem_cache *zswap_entry_cache; | |||
204 | static int zswap_entry_cache_create(void) | 204 | static int zswap_entry_cache_create(void) |
205 | { | 205 | { |
206 | zswap_entry_cache = KMEM_CACHE(zswap_entry, 0); | 206 | zswap_entry_cache = KMEM_CACHE(zswap_entry, 0); |
207 | return (zswap_entry_cache == NULL); | 207 | return zswap_entry_cache == NULL; |
208 | } | 208 | } |
209 | 209 | ||
210 | static void zswap_entry_cache_destory(void) | 210 | static void zswap_entry_cache_destory(void) |
@@ -408,8 +408,8 @@ cleanup: | |||
408 | **********************************/ | 408 | **********************************/ |
409 | static bool zswap_is_full(void) | 409 | static bool zswap_is_full(void) |
410 | { | 410 | { |
411 | return (totalram_pages * zswap_max_pool_percent / 100 < | 411 | return totalram_pages * zswap_max_pool_percent / 100 < |
412 | zswap_pool_pages); | 412 | zswap_pool_pages; |
413 | } | 413 | } |
414 | 414 | ||
415 | /********************************* | 415 | /********************************* |