diff options
author | Alex Elder <elder@linaro.org> | 2024-01-30 13:23:02 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-01 20:50:36 -0800 |
commit | 30cdaea236009c6f626f0660ac4ca08558a2166f (patch) | |
tree | 32db2543738f3a2c5f09bd518b273ccdb069ee80 /drivers/net/ipa/ipa_modem.c | |
parent | 86c9a4929258299498480a542871a4604cc3766c (diff) | |
download | lwn-30cdaea236009c6f626f0660ac4ca08558a2166f.tar.gz lwn-30cdaea236009c6f626f0660ac4ca08558a2166f.zip |
net: ipa: kill ipa_power_modem_queue_stop()
All ipa_power_modem_queue_stop() does now is call netif_stop_queue().
Just call netif_stop_queue() in the one place it's needed, and get
rid of ipa_power_modem_queue_stop().
Signed-off-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20240130192305.250915-6-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa/ipa_modem.c')
-rw-r--r-- | drivers/net/ipa/ipa_modem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipa/ipa_modem.c b/drivers/net/ipa/ipa_modem.c index c7a0b167c432..08e1202f1286 100644 --- a/drivers/net/ipa/ipa_modem.c +++ b/drivers/net/ipa/ipa_modem.c @@ -156,7 +156,7 @@ ipa_start_xmit(struct sk_buff *skb, struct net_device *netdev) * we restart queueing before transmitting the SKB. Otherwise * queueing will eventually be enabled after resume completes. */ - ipa_power_modem_queue_stop(ipa); + netif_stop_queue(netdev); dev = &ipa->pdev->dev; ret = pm_runtime_get(dev); |