aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-04-12 16:49:30 +0100
committerPedro Alves <palves@redhat.com>2016-04-12 16:53:01 +0100
commit5f5219fc34f7557296272230123a3837960a6f09 (patch)
treeebc0ef69ac7b5edaffda6d69ed17c8cef86b864a /gdb/serial.h
parentacd5494dd868ae849b4544abdc50dc8b10ba6f54 (diff)
downloadfsf-binutils-gdb-5f5219fc34f7557296272230123a3837960a6f09.zip
fsf-binutils-gdb-5f5219fc34f7557296272230123a3837960a6f09.tar.gz
fsf-binutils-gdb-5f5219fc34f7557296272230123a3837960a6f09.tar.bz2
Remove unused struct serial::name field
Not used by anything. gdb/ChangeLog: 2016-04-12 Pedro Alves <palves@redhat.com> * serial.c (serial_open, serial_fdopen_ops, do_serial_close): Remove references to name. * serial.h (struct serial) <name>: Delete.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 495b04d..b339f66 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -248,7 +248,6 @@ struct serial
int timeout_remaining; /* (ser-unix.c termio{,s} only), we
still need to wait for this many
more seconds. */
- char *name; /* The name of the device or host */
struct serial *next; /* Pointer to the next `struct serial *' */
int debug_p; /* Trace this serial devices operation. */
int async_state; /* Async internal state. */