summaryrefslogtreecommitdiff
path: root/xhfc/xhfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xhfc/xhfc.c')
-rw-r--r--xhfc/xhfc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/xhfc/xhfc.c b/xhfc/xhfc.c
index 31964a8..df183cd 100644
--- a/xhfc/xhfc.c
+++ b/xhfc/xhfc.c
@@ -722,8 +722,6 @@ void configure_port(int port, int nt, int lineterm)
void xhfc_init_and_configure(struct xhfc* x)
{
- int i;
-
/* In DAHDI's driver's this part is "stage 1" */
xhfc_reset(x);
@@ -733,12 +731,7 @@ void xhfc_init_and_configure(struct xhfc* x)
/* "stage 2" */
xhfc_config_pcm(x, XHFC_PCM_MASTER);
- /* XXX does not need to be done here. */
- for (i = 0; i < SPANS_PER_CHIP; i++)
- xhfc_config_st(x, x->spans[i].port, x->spans[i].nt);
-
/* Now we need to setup the flow controller and stuff */
-
xhfc_config_data_flow(x);
}