process_ea: Drop redundant variable

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2012-12-01 19:38:47 +04:00
parent 4e8396b5cf
commit c7ce6a4f22

View File

@ -2131,14 +2131,10 @@ static enum ea_type process_ea(operand *input, ea *output, int bits,
/*
* It's a direct register.
*/
opflags_t f;
if (!is_register(input->basereg))
goto err;
f = regflag(input);
if (!is_class(REG_EA, f))
if (!is_class(REG_EA, regflag(input)))
goto err;
output->rex |= op_rexflags(input, REX_B | REX_P | REX_W | REX_H);