magiskboot: clean up remaining unneeded ELF detection bits

- default for no format match is UNSUPP_RET (unsupported) so there is no needed to explicitly detect ELF still
This commit is contained in:
osm0sis
2019-05-20 22:27:36 -03:00
committed by John Wu
parent 17e234f9d5
commit b79d1bcded
3 changed files with 0 additions and 12 deletions
-4
View File
@@ -90,10 +90,6 @@ int boot_img::parse_file(const char *image) {
case AOSP:
return parse_image(head);
/* Unsupported */
case ELF32:
case ELF64:
exit(UNSUPP_RET);
default:
break;
}