From 2d9240b494e774c554c672d0088bd4b0cb350546 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 24 Apr 2011 03:23:57 +0000 Subject: [PATCH] Code cleanup --- src/arch.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/arch.c b/src/arch.c index 5a11d33..4d202d6 100644 --- a/src/arch.c +++ b/src/arch.c @@ -178,17 +178,6 @@ ArchInstruction * arch_get_instruction_by_opcode(Arch * arch, uint8_t size, if(ai->opcode == opcode) return ai; } -#if 0 - if(arch->instructions[i].size == size - && arch->instructions[i].opcode == opcode) - return &arch->instructions[i]; -# if 0 /* XXX this is experimental and may not be adequate */ - for(i = 0; i < arch->instructions_cnt; i++) - if(arch->instructions[i].size == 0 - && arch->instructions[i].op1size == size) - return &arch->instructions[i]; -# endif -#endif return NULL; }