diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-03-16 10:35:38 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-03-16 10:35:38 +0100 |
commit | fb6a2e274fe05865021f4b695239e73490e34437 (patch) | |
tree | 86cea1c72e704262ea5de4c1f1fab6747fa5d670 /src | |
parent | 58d31532499b7d0c800a0a5f5d2945e0637113f0 (diff) |
lapd: Remove unused variable t200_start in lapd_acknowledge.
lapd_core.c: In function 'lapd_acknowledge':
lapd_core.c:710:38: warning: variable 't200_start' set but not used [-Wunused-but-set-variable]
Diffstat (limited to 'src')
-rw-r--r-- | src/gsm/lapd_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c index fb79a2f0..96099edb 100644 --- a/src/gsm/lapd_core.c +++ b/src/gsm/lapd_core.c @@ -707,7 +707,7 @@ static void lapd_acknowledge(struct lapd_msg_ctx *lctx) { struct lapd_datalink *dl = lctx->dl; uint8_t nr = lctx->n_recv; - int s = 0, rej = 0, t200_reset = 0, t200_start = 0; + int s = 0, rej = 0, t200_reset = 0; int i, h; /* supervisory frame ? */ @@ -758,7 +758,6 @@ static void lapd_acknowledge(struct lapd_msg_ctx *lctx) if (dl->tx_hist[sub_mod(dl->v_send, 1, dl->range_hist)].msg) { LOGP(DLLAPD, LOGL_INFO, "start T200, due to unacked I " "frame(s)\n"); - t200_start = 1; lapd_start_t200(dl); } } |