diff options
| author | Johannes Weiner <hannes@cmpxchg.org> | 2025-12-11 05:56:45 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-01-21 06:24:41 +0300 |
| commit | 85aa39197420c2eb3cfad4cdfe499bb9b18fafbd (patch) | |
| tree | b520de0126ea1a229ea67d554ec42b0062bcb527 | |
| parent | cc05d5d94bda595e66cf68a90b313baff5dc20ab (diff) | |
| download | linux-85aa39197420c2eb3cfad4cdfe499bb9b18fafbd.tar.xz | |
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 <hannes@cmpxchg.org>
Reviewed-by: Chengming Zhou <chengming.zhou@linux.dev>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Acked-by: Nhat Pham <nphamcs@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
| -rw-r--r-- | mm/zswap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/zswap.c b/mm/zswap.c index ac9b7a60736b..6bf4f2441914 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; |
