summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixp2000/enp2611.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2005-11-23 12:49:30 +0100
committerJeff Garzik <jgarzik@pobox.com>2005-12-01 02:25:26 -0500
commitde287fd596e2e9ea9a29c397322d0a8b8a470cd1 (patch)
tree3fcf649ed94a9826eb34a53ff3fa8af257f91bda /drivers/net/ixp2000/enp2611.c
parentee61249468ec9bb8d032896ae2e8ba8a8b8c3972 (diff)
downloadop-kernel-dev-de287fd596e2e9ea9a29c397322d0a8b8a470cd1.zip
op-kernel-dev-de287fd596e2e9ea9a29c397322d0a8b8a470cd1.tar.gz
[PATCH] enp2611: don't check netif_running() in link status timer
Even after an interface has gone !netif_running(), we still want to catch the 'carrier went down' event for our internal bookkeeping. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/ixp2000/enp2611.c')
-rw-r--r--drivers/net/ixp2000/enp2611.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ixp2000/enp2611.c b/drivers/net/ixp2000/enp2611.c
index 3262e70..f0cc23d 100644
--- a/drivers/net/ixp2000/enp2611.c
+++ b/drivers/net/ixp2000/enp2611.c
@@ -148,9 +148,6 @@ static void enp2611_check_link_status(unsigned long __dummy)
struct net_device *dev;
int status;
- if (!netif_running(nds[i]))
- continue;
-
dev = nds[i];
status = pm3386_is_link_up(i);
OpenPOWER on IntegriCloud