diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2017-06-07 12:36:44 -0700 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2017-07-11 11:18:37 +0300 |
commit | aa5a2c0b3dff907017388895d3005bd348cca6c4 (patch) | |
tree | 2cbeeac1e8fbb2813e20c0a95449e9e43b4fb3ff /target/xtensa/gdbstub.c | |
parent | 6b06e3e49eb8c91cc286c16d6bf3181ac296f33d (diff) |
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>
Diffstat (limited to 'target/xtensa/gdbstub.c')
-rw-r--r-- | target/xtensa/gdbstub.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/xtensa/gdbstub.c b/target/xtensa/gdbstub.c index da131ae8cc..d78a1b437d 100644 --- a/target/xtensa/gdbstub.c +++ b/target/xtensa/gdbstub.c @@ -72,7 +72,6 @@ int xtensa_cpu_gdb_read_register(CPUState *cs, uint8_t *mem_buf, int n) __func__, n, reg->type); memset(mem_buf, 0, reg->size); return reg->size; - return 0; } } |