ldso: remove redundant switch case for REL_NONE

as a result of commit b6a6cd703f,
the REL_NONE case is now redundant.
This commit is contained in:
Fangrui Song authored and Rich Felker committed 2020-03-20 12:35:38 -04:00
1 parent 3e9d3386f1
commit 72658c658b
1 file changed
-2
-2
View File
@@ -415,8 +415,6 @@ static void do_relocs(struct dso *dso, size_t *rel, size_t rel_size, size_t stri
}
switch(type) {
case REL_NONE:
break;
case REL_OFFSET:
addend -= (size_t)reloc_addr;
case REL_SYMBOLIC: