Skip to content
Commit 5be5515a authored by Julio Faracco's avatar Julio Faracco Committed by David S. Miller
Browse files

net: core: dev: replace state xoff flag comparison by netif_xmit_stopped method



Function netif_schedule_queue() has a hardcoded comparison between queue
state and any xoff flag. This comparison does the same thing as method
netif_xmit_stopped(). In terms of code clarity, it is better. See other
methods like: generic_xdp_tx() and dev_direct_xmit().

Signed-off-by: default avatarJulio Faracco <jcfaracco@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5f71c840
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