From: Masahiro Yamada Date: Sun, 8 May 2022 19:06:18 +0000 (+0900) Subject: modpost: remove left-over cross_compile declaration X-Git-Tag: for-5.19/block-exec-2022-06-02~29^2~6 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ce79c406a24c3825a2adeaa4668f79f8d5d72e58;p=linux-block.git modpost: remove left-over cross_compile declaration This is a remnant of commit 6543becf26ff ("mod/file2alias: make modalias generation safe for cross compiling"). Signed-off-by: Masahiro Yamada Reviewed-by: Nick Desaulniers --- diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h index cfa127d2bb8f..d9daeff07b83 100644 --- a/scripts/mod/modpost.h +++ b/scripts/mod/modpost.h @@ -174,7 +174,6 @@ static inline unsigned int get_secindex(const struct elf_info *info, } /* file2alias.c */ -extern unsigned int cross_build; void handle_moddevtable(struct module *mod, struct elf_info *info, Elf_Sym *sym, const char *symname); void add_moddevtable(struct buffer *buf, struct module *mod);