]> www.infradead.org Git - users/willy/xarray.git/commit
zram: Remove ZRAM_LOCK
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 6 Sep 2024 14:14:44 +0000 (16:14 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 6 Sep 2024 14:51:08 +0000 (08:51 -0600)
commit6086aeb49e3d9e25165769b2a0a13ff67f98a1a2
treea9995c4e55c3ec97096b54364da1090d0b4de71b
parent9518e5bfaae19447d657983d0628062ab6712610
zram: Remove ZRAM_LOCK

The ZRAM_LOCK was used for locking and after the addition of spinlock_t
the bit set and cleared but there no reader of it.

Remove the ZRAM_LOCK bit.

Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20240906141520.730009-3-bigeasy@linutronix.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/zram/zram_drv.c
drivers/block/zram/zram_drv.h