From 8e78804fc05e70caf71cfcfe393de22aea1ac22c Mon Sep 17 00:00:00 2001 From: mischief Date: Wed, 5 Aug 2015 06:30:57 -0700 Subject: [PATCH] libmach: remove useless error check from previous commit --- sys/src/libmach/executable.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/src/libmach/executable.c b/sys/src/libmach/executable.c index c5b2e652d..0cb47550d 100644 --- a/sys/src/libmach/executable.c +++ b/sys/src/libmach/executable.c @@ -739,9 +739,6 @@ elf32dotout(int fd, Fhdr *fp, ExecHdr *hp) } else if(ep->ident[DATA] == ELFDATA2MSB){ fp->type = FMIPS; fp->name = "mips be ELF32 executable"; - } else { - werrstr("bad ELF32 encoding - not big or little endian"); - return 0; } break; case SPARC64: