Skip to contentSkip to conversation

linux-memcontrolh-remove-duplicate-struct-declaration.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 8, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: linux/memcontrol.h: remove duplicate struct declaration
has been removed from the -mm tree. Its filename was
linux-memcontrolh-remove-duplicate-struct-declaration.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Wan Jiabing <[email protected]>
Subject: linux/memcontrol.h: remove duplicate struct declaration

struct mem_cgroup is declared twice. One has been declared at forward struct declaration. Remove the duplicate.

---

 include/linux/memcontrol.h |    2 --
 1 file changed, 2 deletions(-)
include/linux/memcontrol.h renamed from include/linux/memcontrol.h~linux-memcontrolh-remove-duplicate-struct-declaration +0 -2
@@ -1123,8 +1123,6 @@ unsigned long mem_cgroup_soft_limit_recl
 #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;

_

Patches currently in -mm which might be from [email protected] are