From 903ce7520ca743f59a650f8958b3daeffda2b931 Mon Sep 17 00:00:00 2001 From: Noe Rubinstein Date: Thu, 25 Nov 2010 12:24:31 +0100 Subject: remove redundant code --- xhfc/xhfc.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'xhfc') 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); } -- cgit v1.2.3