Skip to content

Commit

Permalink
Staging: sxg: Fix a warning dump emitted by rtnl_watchdog during LTP …
Browse files Browse the repository at this point in the history
…tests

Fix a softlock warning message thrown up by the rtnl_timer.
This was observed during the LTP tests (interface up/down test)

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mithlesh Thukral authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent b9346e0 commit 524ca9c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/sxg/sxg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2258,7 +2258,6 @@ int sxg_second_open(struct net_device * dev)
/* Re-enable interrupts */
SXG_ENABLE_ALL_INTERRUPTS(adapter);

netif_carrier_on(dev);
sxg_register_intr(adapter);
spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags);
return (STATUS_SUCCESS);
Expand Down Expand Up @@ -2329,7 +2328,6 @@ static int sxg_entry_halt(struct net_device *dev)
/* Disable interrupts */
SXG_DISABLE_ALL_INTERRUPTS(adapter);

netif_carrier_off(dev);
spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags);

sxg_deregister_interrupt(adapter);
Expand Down

0 comments on commit 524ca9c

Please sign in to comment.