mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-10 01:53:07 +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:
@@ -8,8 +8,6 @@ typedef enum {
|
||||
/* Boot formats */
|
||||
CHROMEOS,
|
||||
AOSP,
|
||||
ELF32,
|
||||
ELF64,
|
||||
DHTB,
|
||||
BLOB,
|
||||
/* Compression formats */
|
||||
@@ -29,8 +27,6 @@ typedef enum {
|
||||
|
||||
#define BOOT_MAGIC "ANDROID!"
|
||||
#define CHROMEOS_MAGIC "CHROMEOS"
|
||||
#define ELF32_MAGIC "\x7f""ELF\x01"
|
||||
#define ELF64_MAGIC "\x7f""ELF\x02"
|
||||
#define GZIP1_MAGIC "\x1f\x8b"
|
||||
#define GZIP2_MAGIC "\x1f\x9e"
|
||||
#define LZOP_MAGIC "\x89""LZO"
|
||||
|
||||
Reference in New Issue
Block a user