]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9479ae0c48d4a666a83d460e9568fd86bc12370
tree5193d257998d3749e49e4817f6bd5ff3b5f39a3c
parent19c0df3b26f142424689632435b3806cbc2610e6
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