[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210405151355.9867-3-rppt@kernel.org>
Date: Mon, 5 Apr 2021 18:13:55 +0300
From: Mike Rapoport <rppt@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Matthew Wilcox <willy@...radead.org>,
Mike Rapoport <rppt@...nel.org>,
Mike Rapoport <rppt@...ux.ibm.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] include/linux/mm.h: remove duplicated declaration of page_mapping()
From: Mike Rapoport <rppt@...ux.ibm.com>
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@...ux.ibm.com>
---
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
Powered by blists - more mailing lists