commit | 7e64b0373af50fa46d3bf441f1c079615bbdf77f | [log] [tgz] |
---|---|---|
author | Mathias Nyman <mathias.nyman@linux.intel.com> | Mon Jan 23 14:20:26 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 25 11:00:02 2017 +0100 |
tree | d5988e439ab7bb6a6364ef8d82ef64d7b7b44681 | |
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>