net: core: Make netif_wake_subqueue a wrapper
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 12 Jan 2017 05:13:02 +0000 (21:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jan 2017 14:18:05 +0000 (09:18 -0500)
commit738b35ccee1bcd7cf4af147edd76e7880533ad9f
tree5193d257998d3749e49e4817f6bd5ff3b5f39a3c
parent171d87aca0da1fab6a15b96ad8e298216a5951b0
net: core: Make netif_wake_subqueue a wrapper

netif_wake_subqueue() is duplicating the same thing that netif_tx_wake_queue()
does, so make it call it directly after looking up the queue from the index.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c