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
This commit is contained in:
parent
34400ad07c
commit
492315c255
@ -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 */
|
if (lc->sync)
|
||||||
b4->spans[span->offset].syncpos = lc->sync;
|
|
||||||
if (lc->sync) {
|
|
||||||
b4->spans[lc->sync - 1].sync = span->spanno;
|
b4->spans[lc->sync - 1].sync = span->spanno;
|
||||||
}
|
|
||||||
|
|
||||||
b4xxp_reset_span(bspan);
|
b4xxp_reset_span(bspan);
|
||||||
|
|
||||||
|
@ -390,7 +390,6 @@ struct b4xxp_span {
|
|||||||
unsigned char readchunk[WCB4XXP_CHANNELS_PER_SPAN * DAHDI_CHUNKSIZE];
|
unsigned char readchunk[WCB4XXP_CHANNELS_PER_SPAN * DAHDI_CHUNKSIZE];
|
||||||
|
|
||||||
int sync; /* sync priority */
|
int sync; /* sync priority */
|
||||||
int syncpos; /* sync priority */
|
|
||||||
|
|
||||||
int oldstate; /* old state machine state */
|
int oldstate; /* old state machine state */
|
||||||
int newalarm; /* alarm to send to zaptel once alarm timer expires */
|
int newalarm; /* alarm to send to zaptel once alarm timer expires */
|
||||||
|
Loading…
Reference in New Issue
Block a user