Commit ef44146c authored by David Binder's avatar David Binder Committed by Greg Kroah-Hartman

staging: unisys: visornic: Remove errant -EIO returns

Remove errant -EIOs that prevent us from calling either
netif_start_queue() or napi_disable().
Signed-off-by: default avatarDavid Binder <david.binder@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6219e493
...@@ -464,7 +464,7 @@ visornic_disable_with_timeout(struct net_device *netdev, const int timeout) ...@@ -464,7 +464,7 @@ visornic_disable_with_timeout(struct net_device *netdev, const int timeout)
spin_unlock_irqrestore(&devdata->priv_lock, flags); spin_unlock_irqrestore(&devdata->priv_lock, flags);
dev_dbg(&netdev->dev, "%s server went away\n", dev_dbg(&netdev->dev, "%s server went away\n",
__func__); __func__);
return -EIO; break;
} }
set_current_state(TASK_INTERRUPTIBLE); set_current_state(TASK_INTERRUPTIBLE);
spin_unlock_irqrestore(&devdata->priv_lock, flags); spin_unlock_irqrestore(&devdata->priv_lock, flags);
...@@ -608,7 +608,7 @@ visornic_enable_with_timeout(struct net_device *netdev, const int timeout) ...@@ -608,7 +608,7 @@ visornic_enable_with_timeout(struct net_device *netdev, const int timeout)
spin_unlock_irqrestore(&devdata->priv_lock, flags); spin_unlock_irqrestore(&devdata->priv_lock, flags);
dev_dbg(&netdev->dev, "%s server went away\n", dev_dbg(&netdev->dev, "%s server went away\n",
__func__); __func__);
return -EIO; break;
} }
set_current_state(TASK_INTERRUPTIBLE); set_current_state(TASK_INTERRUPTIBLE);
spin_unlock_irqrestore(&devdata->priv_lock, flags); spin_unlock_irqrestore(&devdata->priv_lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment