]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/module.h
module: remove module_text_address()
[karo-tx-linux.git] / include / linux / module.h
index fd1241e1416f98863a53ff5d69bfd2a0c5989974..69761ce0dbf03bcffe367aa1b4e7ef468fd09168 100644 (file)
@@ -362,8 +362,6 @@ static inline int module_is_live(struct module *mod)
        return mod->state != MODULE_STATE_GOING;
 }
 
-/* Is this address in a module? (second is with no locks, for oops) */
-struct module *module_text_address(unsigned long addr);
 struct module *__module_text_address(unsigned long addr);
 struct module *__module_address(unsigned long addr);
 bool is_module_address(unsigned long addr);
@@ -496,11 +494,6 @@ search_module_extables(unsigned long addr)
        return NULL;
 }
 
-static inline struct module *module_text_address(unsigned long addr)
-{
-       return NULL;
-}
-
 static inline struct module *__module_address(unsigned long addr)
 {
        return NULL;