From: Johannes Weiner Date: Thu, 11 Dec 2025 02:56:45 +0000 (-0500) Subject: mm: zswap: delete unused acomp->is_sleepable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85aa39197420c2eb3cfad4cdfe499bb9b18fafbd;p=thirdparty%2Fkernel%2Flinux.git mm: zswap: delete unused acomp->is_sleepable This hasn't been used since 7d4c9629b74f ("mm: zswap: use object read/write APIs instead of object mapping APIs"). Drop it. Link: https://lkml.kernel.org/r/20251211025645.820517-1-hannes@cmpxchg.org Signed-off-by: Johannes Weiner Reviewed-by: Chengming Zhou Reviewed-by: Anshuman Khandual Acked-by: Yosry Ahmed Acked-by: Nhat Pham Signed-off-by: Andrew Morton --- diff --git a/mm/zswap.c b/mm/zswap.c index ac9b7a60736bc..6bf4f24419144 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -141,7 +141,6 @@ struct crypto_acomp_ctx { struct crypto_wait wait; u8 *buffer; struct mutex mutex; - bool is_sleepable; }; /* @@ -781,7 +780,6 @@ static int zswap_cpu_comp_prepare(unsigned int cpu, struct hlist_node *node) acomp_ctx->buffer = buffer; acomp_ctx->acomp = acomp; - acomp_ctx->is_sleepable = acomp_is_async(acomp); acomp_ctx->req = req; mutex_unlock(&acomp_ctx->mutex); return 0;