linux-stable/drivers/block/zram
Sergey Senozhatsky 47939359ad zram: remove unused stats fields
We don't show num_reads and num_writes since we removed corresponding
sysfs nodes in 2017.  Block layer stats are exposed via
/sys/block/zramX/stat file.

However, we still increment those atomic vars and store them in zram
stats.  Remove leftovers.

Link: https://lkml.kernel.org/r/20221117141326.1105181-1-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Acked-by: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-11-30 15:59:01 -08:00
..
Kconfig zram: introduce recompress sysfs knob 2022-11-30 15:58:51 -08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
zcomp.c zram: preparation for multi-zcomp support 2022-11-30 15:58:51 -08:00
zcomp.h zram: preparation for multi-zcomp support 2022-11-30 15:58:51 -08:00
zram_drv.c zram: remove unused stats fields 2022-11-30 15:59:01 -08:00
zram_drv.h zram: remove unused stats fields 2022-11-30 15:59:01 -08:00