summaryrefslogtreecommitdiff
path: root/xhfc
diff options
context:
space:
mode:
authorNoe Rubinstein <nrubinstein@proformatique.com>2010-10-22 19:27:16 +0200
committerNoe Rubinstein <nrubinstein@proformatique.com>2010-10-22 19:27:16 +0200
commit695c96449a1efce4036cc981f21dc545ff680d17 (patch)
tree2b5b6a7b60643f7015397fab56586d5ab17605f3 /xhfc
parent1a2bfca2fe403a1185bfdcd5505d1a34fb05d4c6 (diff)
remove code
Diffstat (limited to 'xhfc')
-rw-r--r--xhfc/xhfc.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/xhfc/xhfc.c b/xhfc/xhfc.c
index d0c938b..7bf7d4d 100644
--- a/xhfc/xhfc.c
+++ b/xhfc/xhfc.c
@@ -581,7 +581,7 @@ irqreturn_t xhfc_interrupt(int irq, void *dev_id, struct pt_regs* ptregs)
for (i = 0; i < SPANS_PER_CHIP; i++) {
struct xhfc_span* s = &xhfc->spans[i];
- if ((s->flags & DAHDI_FLAG_RUNNING) && s->sigchan) {
+ if ((s->span.flags & DAHDI_FLAG_RUNNING) && s->sigchan) {
/* No need to loop here, no need to rx/tx
* more than one HDLC frame per millisecond. */
hdlc_rx_frame(s);
@@ -783,13 +783,6 @@ int xhfc_spanconfig(struct dahdi_span *span, struct dahdi_lineconfig *lc)
lc->sync = 0;
}
- /* call startup() manually here, because DAHDI won't call the startup
- * function unless it receives an IOCTL to do so, and dahdi_cfg
- * doesn't. */
- xhfc_span_startup(span);
-
- span->flags |= DAHDI_FLAG_RUNNING;
-
return 0;
}