aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-16 08:21:29 -0500
committerJessica Yu <jeyu@kernel.org>2018-01-16 12:34:04 -0500
commit0cad61d7a3d51e0237a7e421c75b04ebbb5062d0 (patch)
treeef2316e4bc28e1fe31deb005a0d69035d3f08490 /scripts/mod/modpost.c
parent1323eac7fd6560c809aa0ea6081904a5dfa581a9 (diff)
modpost: Remove trailing semicolon
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>
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r--scripts/mod/modpost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index f51cf977c65b..49dfcd556c78 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1685,7 +1685,7 @@ static void extable_mismatch_handler(const char* modname, struct elf_info *elf,
1685static void check_section_mismatch(const char *modname, struct elf_info *elf, 1685static void check_section_mismatch(const char *modname, struct elf_info *elf,
1686 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) 1686 Elf_Rela *r, Elf_Sym *sym, const char *fromsec)
1687{ 1687{
1688 const char *tosec = sec_name(elf, get_secindex(elf, sym));; 1688 const char *tosec = sec_name(elf, get_secindex(elf, sym));
1689 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); 1689 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec);
1690 1690
1691 if (mismatch) { 1691 if (mismatch) {