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>
This commit is contained in:
Mathias Nyman
2017-01-23 14:20:25 +02:00
committed by Greg Kroah-Hartman
parent e6f7caa3de
commit 9ef7fbbb4f
3 changed files with 14 additions and 14 deletions

View File

@@ -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];
};