aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index 0e349f7..22964eb 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -185,9 +185,7 @@ serial_open (const char *name)
return scb;
}
- if (strcmp (name, "ocd") == 0)
- ops = serial_interface_lookup ("ocd");
- else if (strcmp (name, "pc") == 0)
+ if (strcmp (name, "pc") == 0)
ops = serial_interface_lookup ("pc");
else if (strchr (name, ':'))
ops = serial_interface_lookup ("tcp");