diff options
author | Noe Rubinstein <nrubinstein@proformatique.com> | 2010-11-25 12:24:31 +0100 |
---|---|---|
committer | Noe Rubinstein <nrubinstein@proformatique.com> | 2010-11-25 12:24:31 +0100 |
commit | 903ce7520ca743f59a650f8958b3daeffda2b931 (patch) | |
tree | 897bff6d1c39284f7aa89dd9c43ee91cd9e9c3dd | |
parent | 2cff5bae47a83ac4992c13e4dcaf790868983579 (diff) |
remove redundant code
-rw-r--r-- | xhfc/xhfc.c | 7 |
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); } |