diff options
author | Sergey Senozhatsky <senozhatsky@chromium.org> | 2022-11-17 23:13:26 +0900 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-11-30 15:59:01 -0800 |
commit | 47939359add5242d27ee6a30e8bcb0cef15ba45c (patch) | |
tree | 8d3c492585f9f3d0696484ce845cba267a56e408 /drivers/nubus | |
parent | 4c74b65f478dc9353780a6be17fc82f1b06cea80 (diff) | |
download | linux-stable-47939359add5242d27ee6a30e8bcb0cef15ba45c.tar.gz linux-stable-47939359add5242d27ee6a30e8bcb0cef15ba45c.tar.bz2 linux-stable-47939359add5242d27ee6a30e8bcb0cef15ba45c.zip |
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>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions