multi_ev: remove redundant check for data

Pointed out by CodeSonar

Closes #17226
This commit is contained in:
Daniel Stenberg 2025-04-29 14:03:10 +02:00
parent 1fc5226ce5
commit e383ba53eb
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -478,8 +478,7 @@ mev_get_last_pollset(struct Curl_easy *data,
if(data) {
if(conn)
return Curl_conn_meta_get(conn, CURL_META_MEV_POLLSET);
else if(data)
return Curl_meta_get(data, CURL_META_MEV_POLLSET);
return Curl_meta_get(data, CURL_META_MEV_POLLSET);
}
return NULL;
}