diff options
author | 2017-01-24 13:06:11 -0800 | |
---|---|---|
committer | 2017-01-24 16:29:01 -0500 | |
commit | 46b4f7f5d1f7410de48128540ef2d1aab913a619 (patch) | |
tree | 56117dc8ca944861b483f963386192027797918f /drivers/net/hyperv/hyperv_net.h | |
parent | netvsc: simplify rndis_filter_remove (diff) | |
download | linux-46b4f7f5d1f7410de48128540ef2d1aab913a619.tar.gz linux-46b4f7f5d1f7410de48128540ef2d1aab913a619.tar.bz2 linux-46b4f7f5d1f7410de48128540ef2d1aab913a619.zip |
netvsc: eliminate per-device outstanding send counter
Since now keep track of per-queue outstanding sends, we can avoid
one atomic update by removing no longer needed per-device atomic.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index 757205c9cb93..fec365241f37 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -729,7 +729,6 @@ struct netvsc_channel { struct netvsc_device { u32 nvsp_version; - atomic_t num_outstanding_sends; wait_queue_head_t wait_drain; bool destroy; |