[v2,03/11] static_call: Remove static_call_mod_init() declaration

Message ID 3b07f3830d7e4e967cc9714dbf54b7391f35cf8b.1679456900.git.jpoimboe@kernel.org
State New
Headers
Series static_call: Improve NULL/ret0 handling |

Commit Message

Josh Poimboeuf March 22, 2023, 4 a.m. UTC
  This function doesn't exist (and never did).

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
---
 include/linux/static_call.h | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/include/linux/static_call.h b/include/linux/static_call.h
index f984b8f6d974..890ddc0c3190 100644
--- a/include/linux/static_call.h
+++ b/include/linux/static_call.h
@@ -177,7 +177,6 @@  struct static_call_tramp_key {
 };
 
 extern void __static_call_update(struct static_call_key *key, void *tramp, void *func);
-extern int static_call_mod_init(struct module *mod);
 extern int static_call_text_reserved(void *start, void *end);
 
 extern long __static_call_return0(void);