diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-11-15 12:56:12 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-11-17 09:46:33 +0100 |
commit | e723eac5a35d61829d9471b97a029c921c04a258 (patch) | |
tree | e51d6e3bff1f10f13956f8cbea3e8ef1a8f028da /openbsc | |
parent | 986c3d76db7795e565d0a7be5402d4bfe5e1ba93 (diff) |
[telnet] Remove unused variables from the telnet interface
These became unused when the interface was switched to
use the vty module. It is about time to remove these.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/include/openbsc/telnet_interface.h | 7 | ||||
-rw-r--r-- | openbsc/src/telnet_interface.c | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/openbsc/include/openbsc/telnet_interface.h b/openbsc/include/openbsc/telnet_interface.h index 97357d794..d3381e0a4 100644 --- a/openbsc/include/openbsc/telnet_interface.h +++ b/openbsc/include/openbsc/telnet_interface.h @@ -35,13 +35,6 @@ struct telnet_connection { struct gsm_network *network; struct bsc_fd fd; struct vty *vty; - - int bts; - - int command; - char *imsi; - char commands[1024]; - int read; }; diff --git a/openbsc/src/telnet_interface.c b/openbsc/src/telnet_interface.c index d7c905518..128c34e94 100644 --- a/openbsc/src/telnet_interface.c +++ b/openbsc/src/telnet_interface.c @@ -165,7 +165,6 @@ static int telnet_new_connection(struct bsc_fd *fd, unsigned int what) { connection->fd.fd = new_connection; connection->fd.when = BSC_FD_READ; connection->fd.cb = client_data; - connection->bts = 0; bsc_register_fd(&connection->fd); llist_add_tail(&connection->entry, &active_connections); |