summaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-16 13:21:29 +0000
committerJessica Yu <jeyu@kernel.org>2018-01-16 18:34:04 +0100
commit0cad61d7a3d51e0237a7e421c75b04ebbb5062d0 (patch)
treeef2316e4bc28e1fe31deb005a0d69035d3f08490 /scripts/mod
parent1323eac7fd6560c809aa0ea6081904a5dfa581a9 (diff)
downloadlinux-0cad61d7a3d51e0237a7e421c75b04ebbb5062d0.tar.gz
linux-0cad61d7a3d51e0237a7e421c75b04ebbb5062d0.tar.bz2
linux-0cad61d7a3d51e0237a7e421c75b04ebbb5062d0.zip
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')
-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,
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) {