Message ID | 20230328131233.2534-3-jgross@suse.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 8fb8ebf9487785184846d04e915bfe327bf4ccd5 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | xen/netback: fix issue introduced recently | expand |
diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c index 54c76af90233..9ca4b69d3b39 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/net/xen-netback/netback.c @@ -1084,10 +1084,6 @@ static void xenvif_tx_build_gops(struct xenvif_queue *queue, __skb_queue_tail(&queue->tx_queue, skb); queue->tx.req_cons = idx; - - if ((*map_ops >= ARRAY_SIZE(queue->tx_map_ops)) || - (*copy_ops >= ARRAY_SIZE(queue->tx_copy_ops))) - break; } return;