From aa5a2c0b3dff907017388895d3005bd348cca6c4 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Wed, 7 Jun 2017 12:36:44 -0700 Subject: target/xtensa: gdbstub: drop dead return statement Signed-off-by: Max Filippov Reviewed-by: Laurent Vivier Signed-off-by: Michael Tokarev --- target/xtensa/gdbstub.c | 1 - 1 file changed, 1 deletion(-) (limited to 'target/xtensa/gdbstub.c') 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; } } -- cgit v1.2.3