diff options
| author | Jan Beulich <[email protected]> | 2022-07-13 09:19:33 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2022-07-14 10:20:18 +0000 |
| commit | ad39bafda7369b241179da074005a08edcd77f27 (patch) | |
| tree | 78c82c330202a0c25a0146b6455b7b7973652f27 /drivers/net/xen-netfront.c | |
| parent | octeontx2-af: Limit link bringup time at firmware (diff) | |
| download | kernel-ad39bafda7369b241179da074005a08edcd77f27.tar.gz kernel-ad39bafda7369b241179da074005a08edcd77f27.zip | |
xen-netfront: remove leftover call to xennet_tx_buf_gc()
In talk_to_netback(), called earlier from xennet_connect(), queues and
shared rings were just re-initialized, so all this function call could
result in is setting ->broken (again) right away in case any unconsumed
responses were found.
Signed-off-by: Jan Beulich <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
| -rw-r--r-- | drivers/net/xen-netfront.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c index 2409007f1fd9..8bae9b84f045 100644 --- a/drivers/net/xen-netfront.c +++ b/drivers/net/xen-netfront.c @@ -2464,10 +2464,6 @@ static int xennet_connect(struct net_device *dev) if (queue->tx_irq != queue->rx_irq) notify_remote_via_irq(queue->rx_irq); - spin_lock_irq(&queue->tx_lock); - xennet_tx_buf_gc(queue); - spin_unlock_irq(&queue->tx_lock); - spin_lock_bh(&queue->rx_lock); xennet_alloc_rx_buffers(queue); spin_unlock_bh(&queue->rx_lock); |
