aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2023-03-27 10:36:46 +0200
committerPaolo Abeni <[email protected]>2023-03-28 14:16:40 +0200
commit8fb8ebf9487785184846d04e915bfe327bf4ccd5 (patch)
tree321446f779c8e7ce440e016e3912cbf9677b025b /scripts/generate_rust_analyzer.py
parent05310f31ca74673a96567fb14637b7d5d6c82ea5 (diff)
xen/netback: remove not needed test in xenvif_tx_build_gops()
The tests for the number of grant mapping or copy operations reaching the array size of the operations buffer at the end of the main loop in xenvif_tx_build_gops() isn't needed. The loop can handle at maximum MAX_PENDING_REQS transfer requests, as XEN_RING_NR_UNCONSUMED_REQUESTS() is taking unsent responses into consideration, too. Remove the tests. Suggested-by: Jan Beulich <[email protected]> Signed-off-by: Juergen Gross <[email protected]> Reviewed-by: Paul Durrant <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions