commit | fb79a6da459b20554151eed84c991cd9bd35ff15 | [log] [tgz] |
---|---|---|
author | Lu Baolu <baolu.lu@linux.intel.com> | Mon Jan 23 14:20:01 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 25 10:57:35 2017 +0100 |
tree | 587c59f4035e019ed6da77e9cfd5d6e7a44b5a4d | |
parent | 80c479622fb4564c40813c8f752d3fffd4c5be47 [diff] |
usb: xhci: avoid unnecessary calculation No need to calculate remainder and length_field, if there is no data phase of a control transfer. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>