diff options
| author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-05 14:32:02 +0200 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-24 11:04:12 +0200 |
| commit | 843053093f4708fd2ee93cc6591f31bb260bb8a6 (patch) | |
| tree | 2ed0600705349580d8cafa20019b07e87c05aa96 /tools/perf/scripts/python | |
| parent | usb: gadget: f_uac2: improve error handling (diff) | |
| download | linux-843053093f4708fd2ee93cc6591f31bb260bb8a6.tar.gz linux-843053093f4708fd2ee93cc6591f31bb260bb8a6.zip | |
usb: dwc3: gadget: simplify dwc3_prepare_one_trb()
We are already passing struct dwc3_request * to dwc3_prepare_one_trb(),
because of that there's no need to extract dma address and length in the
caller. We can let dwc3_prepare_one_trb() itself handle that part.
This simplifies the prototype of the function by removing two arguments.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
