modpost: Remove trailing semicolon
authorLuis de Bethencourt <luisbg@kernel.org>
Tue, 16 Jan 2018 13:21:29 +0000 (13:21 +0000)
committerJessica Yu <jeyu@kernel.org>
Tue, 16 Jan 2018 17:34:04 +0000 (18:34 +0100)
The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.

Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
scripts/mod/modpost.c

index f51cf977c65b22131ff1ac7aa568015771e94f65..49dfcd556c78ef9c64d4c290992ba840f3e528cc 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)
 {
-       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) {