You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user