[PATCH 2/2] include/linux/mm.h: remove duplicated declaration of page_mapping()
From: Mike Rapoport
Date: Mon Apr 05 2021 - 11:14:14 EST
From: Mike Rapoport <rppt@xxxxxxxxxxxxx>
There are two declarations of page_mapping() in include/linux/mm.h a dozen
lines apart.
Remove the older one with unnecessary "extern".
Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>
---
include/linux/mm.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 74a05dbdcc19..d831ca0fcfa1 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1619,8 +1619,6 @@ void page_address_init(void);
#define page_address_init() do { } while(0)
#endif
-extern struct address_space *page_mapping(struct page *page);
-
extern struct address_space *__page_file_mapping(struct page *);
static inline
--
2.28.0