mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
linux/memcontrol.h: remove duplicate struct declaration
struct mem_cgroup is declared twice. One has been declared at forward struct declaration. Remove the duplicate. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Wan Jiabing <[email protected]> Reviewed-by: Muchun Song <[email protected]> Acked-by: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
bd290e1e75
commit
a10e995749
1 file changed
-2
@@ -1123,8 +1123,6 @@ unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order,
|
||||
#define MEM_CGROUP_ID_SHIFT 0
|
||||
#define MEM_CGROUP_ID_MAX 0
|
||||
|
||||
struct mem_cgroup;
|
||||
|
||||
static inline struct mem_cgroup *page_memcg(struct page *page)
|
||||
{
|
||||
return NULL;
|
||||
|
||||
Reference in new issue
Block a user