Skip to content

Commit

Permalink
[PATCH] enp2611: don't check netif_running() in link status timer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lennert Buytenhek authored and Jeff Garzik committed Dec 1, 2005
1 parent ee61249 commit de287fd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/ixp2000/enp2611.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit de287fd

Please sign in to comment.