diff options
-rw-r--r-- | mm/zswap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/zswap.c b/mm/zswap.c index c162a2e6cc51..0cfce9bc51e4 100644 --- a/mm/zswap.c +++ b/mm/zswap.c | |||
@@ -152,8 +152,7 @@ static int __init zswap_comp_init(void) | |||
152 | static void __init zswap_comp_exit(void) | 152 | static void __init zswap_comp_exit(void) |
153 | { | 153 | { |
154 | /* free percpu transforms */ | 154 | /* free percpu transforms */ |
155 | if (zswap_comp_pcpu_tfms) | 155 | free_percpu(zswap_comp_pcpu_tfms); |
156 | free_percpu(zswap_comp_pcpu_tfms); | ||
157 | } | 156 | } |
158 | 157 | ||
159 | /********************************* | 158 | /********************************* |