diff options
| author | Alexandr Ivanov <[email protected]> | 2016-04-22 13:17:09 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-26 16:08:02 -0700 |
| commit | d2510342fe93d5ac8b807bc1d44b613eb5d9c64d (patch) | |
| tree | ba156a049060f81a32cc6546e5d589ddd8472756 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 5f2e5fb873e269fcb806165715d237f0de4ecf1d (diff) | |
usb: xhci: merge xhci_queue_bulk_tx and queue_bulk_sg_tx functions
In drivers/usb/host/xhci-ring.c there are two functions
(xhci_queue_bulk_tx and queue_bulk_sg_tx) that are very similar,
so a lot of code duplication.
This patch merges these functions into to one xhci_queue_bulk_tx.
Also counting the needed TRBs is merged and refactored.
Signed-off-by: Alexandr Ivanov <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions