aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-02 17:58:45 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 11:21:10 +0100
commit45738887be2299cf5fca19b1f94c6054cca41239 (patch)
tree81f0ce47c9954af6628ca00a7bd0ad5168edc015
parentb6edf97481737d5846bdd65bda15d8762ffc0c78 (diff)
mtp: Kill the link variable from the mtp link.
-rw-r--r--include/mtp_data.h4
-rw-r--r--src/links.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/include/mtp_data.h b/include/mtp_data.h
index ba7695a..8c34f20 100644
--- a/include/mtp_data.h
+++ b/include/mtp_data.h
@@ -53,10 +53,6 @@ struct mtp_link {
int sltm_once;
int was_up;
-
- /* the associated link */
- int link;
-
int slta_misses;
struct timer_list t1_timer;
struct timer_list t2_timer;
diff --git a/src/links.c b/src/links.c
index 8816f71..64e3a3d 100644
--- a/src/links.c
+++ b/src/links.c
@@ -60,7 +60,6 @@ int link_init(struct bsc_data *bsc)
bsc->link.the_link->dpc = bsc->dpc;
bsc->link.the_link->opc = bsc->opc;
bsc->link.the_link->sccp_opc = bsc->sccp_opc > -1 ? bsc->sccp_opc : bsc->opc;
- bsc->link.the_link->link = 0;
bsc->link.the_link->sltm_once = bsc->once;
bsc->link.the_link->ni = bsc->ni_ni;
bsc->link.the_link->spare = bsc->ni_spare;