Skip to content

Commit ce79c40

Browse files
committed
modpost: remove left-over cross_compile declaration
This is a remnant of commit 6543bec ("mod/file2alias: make modalias generation safe for cross compiling"). Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]>
1 parent 78e9e56 commit ce79c40

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/mod/modpost.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ static inline unsigned int get_secindex(const struct elf_info *info,
174174
}
175175

176176
/* file2alias.c */
177-
extern unsigned int cross_build;
178177
void handle_moddevtable(struct module *mod, struct elf_info *info,
179178
Elf_Sym *sym, const char *symname);
180179
void add_moddevtable(struct buffer *buf, struct module *mod);

0 commit comments

Comments
 (0)