# Re: \[PATCH v2 4/5\] usb: gadget: u\_audio: remove struct uac\_req

- From: Felipe Balbi \<balbi@kernel.org\>
- Date: 2021-01-07 09:28:41 
- List: linux-usb
- Page: https://ratatoskr.run/linux-usb/2021/01/6226325
- Thread: https://ratatoskr.run/linux-usb/2021/01/6225416/t.md

```text
Jerome Brunet [ref] writes:

> 'struct uac_req' purpose is to link 'struct usb_request' to the
> corresponding 'struct uac_rtd_params'. However member req is never
> used. Using the context of the usb request, we can keep track of the
> corresponding 'struct uac_rtd_params' just as well, without allocating
> extra memory.
>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>

Acked-by: Felipe Balbi <balbi@kernel.org>

-- 
balbi
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-usb/2021/01/6226325/attachment/0) (application/pgp-signature, 857 bytes)
