]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/qlge/qlge_ethtool.c
qlge: Fix lock/mutex warnings.
[mirror_ubuntu-artful-kernel.git] / drivers / net / qlge / qlge_ethtool.c
index 68f9bd280f86b028843b02911f9fd3a63ad861f7..52073946bce35cec6da556f032f1ae4c8b2cc746 100644 (file)
@@ -45,7 +45,6 @@ static int ql_update_ring_coalescing(struct ql_adapter *qdev)
        if (!netif_running(qdev->ndev))
                return status;
 
-       spin_lock(&qdev->hw_lock);
        /* Skip the default queue, and update the outbound handler
         * queues if they changed.
         */
@@ -92,7 +91,6 @@ static int ql_update_ring_coalescing(struct ql_adapter *qdev)
                }
        }
 exit:
-       spin_unlock(&qdev->hw_lock);
        return status;
 }