[PATCH 2/3] arch: remove impossible case with mips64 not being lp64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The code at the start of init_target() already take care
of making the arch variants match their bitness. It's thus
not possible, when setting the type of [u]int32, to have
mips64 with a bitness different than lp64.

So, remove the unneeded check.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 target.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/target.c b/target.c
index 17bdb2544..e1f2fd5d9 100644
--- a/target.c
+++ b/target.c
@@ -102,10 +102,6 @@ void init_target(void)
 	}
 
 	switch (arch_mach) {
-	case MACH_MIPS64:
-		if (arch_m64 == ARCH_LP64)
-			break;
-		/* fall through */
 	case MACH_M68K:
 	case MACH_SPARC32:
 	case MACH_PPC32:
-- 
2.24.0




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux