summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcb4xxp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-12-20 19:49:05 +0000
committerShaun Ruffell <sruffell@digium.com>2010-12-20 19:49:05 +0000
commit8ea4d81f2c891424704e4400ef609f722e9dc51e (patch)
tree7b275bf3bc67f01e8fa133e3c53db04a00b5546c /drivers/dahdi/wcb4xxp
parent36ff58b46688d46cc950a7dade3c99d7040a2e1d (diff)
wcb4xxp: Remove unused syncpos member.
Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9545 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcb4xxp')
-rw-r--r--drivers/dahdi/wcb4xxp/base.c5
-rw-r--r--drivers/dahdi/wcb4xxp/wcb4xxp.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/drivers/dahdi/wcb4xxp/base.c b/drivers/dahdi/wcb4xxp/base.c
index 793a6e6..3e7f7da 100644
--- a/drivers/dahdi/wcb4xxp/base.c
+++ b/drivers/dahdi/wcb4xxp/base.c
@@ -2337,11 +2337,8 @@ static int b4xxp_spanconfig(struct dahdi_span *span, struct dahdi_lineconfig *lc
}
}
- /* if a sync src, put it in proper place */
- b4->spans[span->offset].syncpos = lc->sync;
- if (lc->sync) {
+ if (lc->sync)
b4->spans[lc->sync - 1].sync = span->spanno;
- }
b4xxp_reset_span(bspan);
diff --git a/drivers/dahdi/wcb4xxp/wcb4xxp.h b/drivers/dahdi/wcb4xxp/wcb4xxp.h
index 6e7f5fb..56dc93b 100644
--- a/drivers/dahdi/wcb4xxp/wcb4xxp.h
+++ b/drivers/dahdi/wcb4xxp/wcb4xxp.h
@@ -390,7 +390,6 @@ struct b4xxp_span {
unsigned char readchunk[WCB4XXP_CHANNELS_PER_SPAN * DAHDI_CHUNKSIZE];
int sync; /* sync priority */
- int syncpos; /* sync priority */
int oldstate; /* old state machine state */
int newalarm; /* alarm to send to zaptel once alarm timer expires */