diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2014-06-30 20:38:32 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-08 04:06:52 +0400 |
commit | 8e62d670488282eed56bbdd0216691ababb0f6e9 (patch) | |
tree | d96e4801f38bfd43ee19ea881e1e7bba329da903 /drivers/net/ethernet/ti/tlan.c | |
parent | 36bbe2f4b4c81a2857d9c8f0443a86f42911336b (diff) | |
download | linux-8e62d670488282eed56bbdd0216691ababb0f6e9.tar.xz |
tlan: Don't scream if no link
Remove excess printks when the link is down.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/tlan.c')
-rw-r--r-- | drivers/net/ethernet/ti/tlan.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/ethernet/ti/tlan.c b/drivers/net/ethernet/ti/tlan.c index 3b8364568a6a..872f94c7f1cf 100644 --- a/drivers/net/ethernet/ti/tlan.c +++ b/drivers/net/ethernet/ti/tlan.c @@ -1198,9 +1198,6 @@ static irqreturn_t tlan_handle_interrupt(int irq, void *dev_id) static int tlan_close(struct net_device *dev) { - struct tlan_priv *priv = netdev_priv(dev); - - priv->neg_be_verbose = 0; tlan_stop(dev); free_irq(dev->irq, dev); @@ -2701,12 +2698,6 @@ static void tlan_phy_finish_auto_neg(struct net_device *dev) /* Wait for 8 sec to give the process * more time. Perhaps we should fail after a while. */ - if (!priv->neg_be_verbose++) { - pr_info("Giving autonegotiation more time.\n"); - pr_info("Please check that your adapter has\n"); - pr_info("been properly connected to a HUB or Switch.\n"); - pr_info("Trying to establish link in the background...\n"); - } tlan_set_timer(dev, (8*HZ), TLAN_TIMER_PHY_FINISH_AN); return; } |