Merge tag 'modules-for-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu...
[muen/linux.git] / scripts / mod / modpost.c
index 6510536c06df3d4d43cac41f061e49d6e883e91b..9917f928d0fdf0a0f82f2730c926fc6449e04121 100644 (file)
@@ -1685,7 +1685,7 @@ static void extable_mismatch_handler(const char* modname, struct elf_info *elf,
 static void check_section_mismatch(const char *modname, struct elf_info *elf,
                                   Elf_Rela *r, Elf_Sym *sym, const char *fromsec)
 {
 static void check_section_mismatch(const char *modname, struct elf_info *elf,
                                   Elf_Rela *r, Elf_Sym *sym, const char *fromsec)
 {
-       const char *tosec = sec_name(elf, get_secindex(elf, sym));;
+       const char *tosec = sec_name(elf, get_secindex(elf, sym));
        const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec);
 
        if (mismatch) {
        const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec);
 
        if (mismatch) {