Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0b1e8d4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "USB: rndis: Free the rndis response queue during rndis reset msg""

parents 49decc67 7fb09bc8
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -689,13 +689,6 @@ static int rndis_reset_response(struct rndis_params *params,
	rndis_reset_cmplt_type *resp;
	rndis_resp_t *r;

	u32 length;
	u8 *xbuf;

	/* drain the response queue */
	while ((xbuf = rndis_get_next_response(params, &length)))
		rndis_free_response(params, xbuf);

	r = rndis_add_response(params, sizeof(rndis_reset_cmplt_type));
	if (!r)
		return -ENOMEM;