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

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

Merge "USB: f_mtp: Don't reset string id during function_unbind"

parents 97bfb091 4fd1f469
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1443,7 +1443,6 @@ mtp_function_unbind(struct usb_configuration *c, struct usb_function *f)
	struct usb_request *req;
	int i;

	mtp_string_defs[INTERFACE_STRING_INDEX].id = 0;
	while ((req = mtp_req_get(dev, &dev->tx_idle)))
		mtp_request_free(req, dev->ep_in);
	for (i = 0; i < RX_REQ_MAX; i++)