diff mbox series

[v2,2/6] mm/list_lru: don't export list_lru_add

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

Commit Message

Kairui Song Sept. 25, 2024, 5:10 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>
Reviewed-by: Muchun Song <muchun.song@linux.dev>
---
 mm/list_lru.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Shakeel Butt Sept. 26, 2024, 2:32 p.m. UTC | #1
On Thu, Sep 26, 2024 at 01:10:16AM GMT, Kairui Song 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>

Acked-by: Shakeel Butt <shakeel.butt@linux.dev>
diff mbox series

Patch

diff --git a/mm/list_lru.c b/mm/list_lru.c
index ea7dc9fa4d05..a798e7624f69 100644
--- a/mm/list_lru.c
+++ b/mm/list_lru.c
@@ -106,7 +106,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)
 {