summaryrefslogtreecommitdiff
path: root/src/target/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/smp.c')
-rw-r--r--src/target/smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/smp.c b/src/target/smp.c
index aabfa5b8..f4adc8d0 100644
--- a/src/target/smp.c
+++ b/src/target/smp.c
@@ -95,7 +95,6 @@ int gdb_write_smp_packet(struct connection *connection,
{
char *separator;
int coreid = 0;
- int retval = ERROR_OK;
/* skip command character */
if (target->smp)
@@ -110,7 +109,8 @@ int gdb_write_smp_packet(struct connection *connection,
}
else
{
- retval = gdb_put_packet(connection,"E01",3);
+ gdb_put_packet(connection,"E01",3);
}
+
return ERROR_OK;
}