diff options
author | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-27 14:21:17 +0200 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-27 14:21:17 +0200 |
commit | 8316b36ccda0a92039eb0d48eb0a9eb657186e64 (patch) | |
tree | 535a768b3919bac91f22d10b18ffd9eff6fb32e1 | |
parent | ccc0a7176f41635aeb961dd1f86fa95c176f4158 (diff) |
ccwmx51: FEC driver
Remove an additional wait for completion which introduces an uneeded
delay.
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
-rw-r--r-- | drivers/net/fec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 60d8f3694644..7b17dd7571b6 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -203,7 +203,7 @@ struct fec_enet_private { struct bufdesc *rx_bd_base; struct bufdesc *tx_bd_base; /* The next free ring entry */ - struct bufdesc *cur_rx, *cur_tx; + struct bufdesc *cur_rx, *cur_tx; /* The ring entries to be free()ed */ struct bufdesc *dirty_tx; @@ -1669,7 +1669,7 @@ fec_enet_open(struct net_device *dev) schedule(); mii_do_cmd(dev, fep->phy->startup); - wait_for_completion_timeout(&fep->anc_done, 10 * HZ); +// wait_for_completion_timeout(&fep->anc_done, 10 * HZ); } fec_restart(dev, fep->full_duplex); |