From eddda99e7e47485d095c1cecf2697e85c6b5e9dc Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Fri, 23 Sep 2011 20:18:29 +0000 Subject: 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 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10204 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wct4xxp/base.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'drivers') 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 -- cgit v1.2.3