lkml.org 
[lkml]   [2021]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] include/linux/mm.h: remove duplicated declaration of page_mapping()
Date
From: Mike Rapoport <rppt@linux.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@linux.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
\
 
 \ /
  Last update: 2021-04-05 17:17    [W:0.038 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site