summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2017-01-23 15:20:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-25 13:00:02 +0300
commit7e64b0373af50fa46d3bf441f1c079615bbdf77f (patch)
treed5988e439ab7bb6a6364ef8d82ef64d7b7b44681 /kernel
parent9ef7fbbb4fdfb857e606a9fd550faa8011cce5e2 (diff)
downloadlinux-7e64b0373af50fa46d3bf441f1c079615bbdf77f.tar.xz
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 'kernel')
0 files changed, 0 insertions, 0 deletions