diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-04 13:23:50 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-17 11:27:00 +0100 |
commit | 85e17d1224b7599f936264ca8d6d3824452842c8 (patch) | |
tree | c40e9e7da6514631b9ce22474175e81325530129 | |
parent | fe72c160e2d3c7a32bed13ff7675e0d547635d62 (diff) |
mtp: Remove the forced_down as it is never read in that application
-rw-r--r-- | include/bsc_data.h | 1 | ||||
-rw-r--r-- | src/link_udp.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/bsc_data.h b/include/bsc_data.h index 5a01dce..b2fd29f 100644 --- a/include/bsc_data.h +++ b/include/bsc_data.h @@ -64,7 +64,6 @@ struct link_data { struct mtp_link_set *the_link; struct timer_list link_activate; - int forced_down; int (*start)(struct link_data *); int (*write)(struct link_data *, struct msgb *msg); diff --git a/src/link_udp.c b/src/link_udp.c index 3fbc726..e05bd17 100644 --- a/src/link_udp.c +++ b/src/link_udp.c @@ -130,7 +130,6 @@ static void do_start(void *_data) { struct link_data *link = (struct link_data *) _data; - link->forced_down = 0; snmp_mtp_activate(link->udp.session, link->udp.link_index); mtp_link_up(link); } |