summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wct4xxp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-09-23 20:18:29 +0000
committerShaun Ruffell <sruffell@digium.com>2011-09-23 20:18:29 +0000
commiteddda99e7e47485d095c1cecf2697e85c6b5e9dc (patch)
treee35045591feaf7a15bb9b3a290b3f3b8116375b5 /drivers/dahdi/wct4xxp
parentc000f4a0957eec5d349dee3fd7072163627ed4ef (diff)
wct4xxp: Remove unused t4_span.psync and t4_span.redalarms.
These members are not used anywhere and are now gone. Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10204 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wct4xxp')
-rw-r--r--drivers/dahdi/wct4xxp/base.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index f1c2bed..69d18e6 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -289,9 +289,7 @@ struct t4_span {
u32 *readchunk; /* Double-word aligned read memory */
int spantype; /* card type, T1 or E1 or J1 */
int sync;
- int psync;
int alarmtimer;
- int redalarms;
int notclear;
int alarmcount;
int losalarmcount;
@@ -1923,17 +1921,14 @@ t4_spanconfig(struct file *file, struct dahdi_span *span,
/* remove this span number from the current sync sources, if there */
for(i = 0; i < wc->numspans; i++) {
- if (wc->tspans[i]->sync == span->spanno) {
+ if (wc->tspans[i]->sync == span->spanno)
wc->tspans[i]->sync = 0;
- wc->tspans[i]->psync = 0;
- }
}
wc->tspans[span->offset]->syncpos = lc->sync;
/* if a sync src, put it in proper place */
- if (lc->sync) {
+ if (lc->sync)
wc->tspans[lc->sync - 1]->sync = span->spanno;
- wc->tspans[lc->sync - 1]->psync = span->offset + 1;
- }
+
set_bit(T4_CHECK_TIMING, &wc->checkflag);
/* Make sure this is clear in case of multiple startup and shutdown