diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2017-01-23 13:20:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 11:00:02 +0100 |
commit | 9ef7fbbb4fdfb857e606a9fd550faa8011cce5e2 (patch) | |
tree | 0180466c74a13b3dc0caeb79f9c557a8a1ef5377 /drivers/usb/host/xhci.h | |
parent | xhci: rename size variable to num_tds (diff) | |
download | linux-9ef7fbbb4fdfb857e606a9fd550faa8011cce5e2.tar.xz linux-9ef7fbbb4fdfb857e606a9fd550faa8011cce5e2.zip |
xhci: Rename variables related to transfer descritpors
urb_priv structure has a count on how many TDs the
URB contains, and how many of those TD's we have handled.
rename:
length -> num_tds
td_cnt -> num_tds_done
No functional changes
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r-- | drivers/usb/host/xhci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 9193a4224209..dab271995aca 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1608,8 +1608,8 @@ struct xhci_scratchpad { }; struct urb_priv { - int length; - int td_cnt; + int num_tds; + int num_tds_done; struct xhci_td *td[0]; }; |