multi: remove careful bounds check as coverity says it is not needed

And we all hope that future code changes will not make it necessary
again or this will all be blamed on you, coverity!

Closes #17784
This commit is contained in:
Stefan Eissing 2025-06-30 09:24:13 +02:00 committed by Daniel Stenberg
parent 21ecc7e376
commit a29133e909
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -370,8 +370,7 @@ static CURLMcode multi_xfers_add(struct Curl_multi *multi,
else {
/* make it a 64 multiple, since our bitsets frow by that and
* small (easy_multi) grows to at least 64 on first resize. */
new_size = CURLMIN((((used + min_unused) + 63) / 64) * 64,
max_capacity);
new_size = (((used + min_unused) + 63) / 64) * 64;
}
}
}