diff --git a/mm/zswap.c b/mm/zswap.c index c162a2e6cc51ba72f44184d5af89082721ab5c65..0cfce9bc51e4946c561e48b8cb5f9e6cf7669d5f 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -152,8 +152,7 @@ static int __init zswap_comp_init(void) static void __init zswap_comp_exit(void) { /* free percpu transforms */ - if (zswap_comp_pcpu_tfms) - free_percpu(zswap_comp_pcpu_tfms); + free_percpu(zswap_comp_pcpu_tfms); } /*********************************