easy: remove dead code

multi is already assigned to data->multi by curl_multi_add_handle.

Closes https://github.com/curl/curl/pull/4900
This commit is contained in:
Jay Satiro 2020-02-09 02:41:33 -05:00
parent d78672b5b4
commit 55bb83c92b
1 changed files with 0 additions and 4 deletions

View File

@ -690,10 +690,6 @@ static CURLcode easy_perform(struct Curl_easy *data, bool events)
sigpipe_ignore(data, &pipe_st);
/* assign this after curl_multi_add_handle() since that function checks for
it and rejects this handle otherwise */
data->multi = multi;
/* run the transfer */
result = events ? easy_events(multi) : easy_transfer(multi);