[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <173858700317.10177.16476326664244943525.tip-bot2@tip-bot2>
Date: Mon, 03 Feb 2025 12:50:03 -0000
From: "tip-bot2 for Mike Rapoport (Microsoft)" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: "Mike Rapoport (Microsoft)" <rppt@...nel.org>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: x86/mm] module: drop unused module_writable_address()
The following commit has been merged into the x86/mm branch of tip:
Commit-ID: 602df3712979de594d268e8cbca46a93126c977d
Gitweb: https://git.kernel.org/tip/602df3712979de594d268e8cbca46a93126c977d
Author: Mike Rapoport (Microsoft) <rppt@...nel.org>
AuthorDate: Sun, 26 Jan 2025 09:47:32 +02:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Mon, 03 Feb 2025 11:46:03 +01:00
module: drop unused module_writable_address()
module_writable_address() is unused and can be removed.
Signed-off-by: "Mike Rapoport (Microsoft)" <rppt@...nel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Link: https://lore.kernel.org/r/20250126074733.1384926-9-rppt@kernel.org
---
include/linux/module.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/linux/module.h b/include/linux/module.h
index ddf27ed..a76928c 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -768,11 +768,6 @@ static inline bool is_livepatch_module(struct module *mod)
void set_module_sig_enforced(void);
-static inline void *module_writable_address(struct module *mod, void *loc)
-{
- return loc;
-}
-
#else /* !CONFIG_MODULES... */
static inline struct module *__module_address(unsigned long addr)
@@ -880,11 +875,6 @@ static inline bool module_is_coming(struct module *mod)
{
return false;
}
-
-static inline void *module_writable_address(struct module *mod, void *loc)
-{
- return loc;
-}
#endif /* CONFIG_MODULES */
#ifdef CONFIG_SYSFS
Powered by blists - more mailing lists