mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
mm: zswap: delete unused acomp->is_sleepable
This hasn't been used since 7d4c9629b7 ("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>
This commit is contained in:
parent
cc05d5d94b
commit
85aa391974
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user