]> git.baikalelectronics.ru Git - kernel.git/commit
ksm: remove redundant declarations in ksm.h
authorQi Zheng <zhengqi.arch@bytedance.com>
Wed, 31 Aug 2022 03:19:47 +0000 (11:19 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:43 +0000 (14:02 -0700)
commit91cee2b7d4a13ee2cc378d34c09e0e72ebe53e89
tree9e9569d237ba779f113a28a335cee4e52871e58a
parent8a3ef0f6326c616c699a4b04bfb51c7868c49116
ksm: remove redundant declarations in ksm.h

Currently, for struct stable_node, no one uses it in both the
include/linux/ksm.h file and the file that contains it.  For struct
mem_cgroup, it's also not used in ksm.h.  So they're all redundant, just
remove them.

Link: https://lkml.kernel.org/r/20220831031951.43152-4-zhengqi.arch@bytedance.com
Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Yang Shi <shy828301@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/ksm.h