diff mbox series

[3/7] mm/list_lru: don't export list_lru_add

Message ID 20240624175313.47329-4-ryncsn@gmail.com (mailing list archive)
State New
Headers show
Series Split list_lru lock into per-cgroup scope | expand

Commit Message

Kairui Song June 24, 2024, 5:53 p.m. UTC
From: Kairui Song <kasong@tencent.com>

It's no longer used by any module, just remove it.

Signed-off-by: Kairui Song <kasong@tencent.com>
---
 mm/list_lru.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Muchun Song July 17, 2024, 3:12 a.m. UTC | #1
> On Jun 25, 2024, at 01:53, Kairui Song <ryncsn@gmail.com> wrote:
> 
> From: Kairui Song <kasong@tencent.com>
> 
> It's no longer used by any module, just remove it.
> 
> Signed-off-by: Kairui Song <kasong@tencent.com>

Reviewed-by: Muchun Song <muchun.song@linux.dev>

Thanks.
diff mbox series

Patch

diff --git a/mm/list_lru.c b/mm/list_lru.c
index 264713caa713..9d9ec8661354 100644
--- a/mm/list_lru.c
+++ b/mm/list_lru.c
@@ -105,7 +105,6 @@  bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid,
 	spin_unlock(&nlru->lock);
 	return false;
 }
-EXPORT_SYMBOL_GPL(list_lru_add);
 
 bool list_lru_add_obj(struct list_lru *lru, struct list_head *item)
 {