diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2017-01-23 14:20:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 11:00:02 +0100 |
commit | 7e64b0373af50fa46d3bf441f1c079615bbdf77f (patch) | |
tree | d5988e439ab7bb6a6364ef8d82ef64d7b7b44681 /Documentation/devicetree/bindings/usb/mt8173-xhci.txt | |
parent | 9ef7fbbb4fdfb857e606a9fd550faa8011cce5e2 (diff) |
xhci: simplify how we store TDs in urb private data
Instead of storing a zero length array of td pointers, and then
allocate memory both for the td pointer array and the td's, just
use a zero length array of actual td's in urb private data.
old:
struct urb_priv {
struct xhci_td *td[0]
}
new:
struct urb_priv {
struct xhci_td td[0]
}
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/mt8173-xhci.txt')
0 files changed, 0 insertions, 0 deletions