target/xtensa: gdbstub: drop dead return statement

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Max Filippov 2017-06-07 12:36:44 -07:00 committed by Michael Tokarev
parent 6b06e3e49e
commit aa5a2c0b3d

View File

@ -72,7 +72,6 @@ int xtensa_cpu_gdb_read_register(CPUState *cs, uint8_t *mem_buf, int n)
__func__, n, reg->type); __func__, n, reg->type);
memset(mem_buf, 0, reg->size); memset(mem_buf, 0, reg->size);
return reg->size; return reg->size;
return 0;
} }
} }