projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0302619
)
xhci: Remove unused defines for ERST_SIZE and ERST_ENTRIES
author
Mathias Nyman
<mathias.nyman@linux.intel.com>
Thu, 17 Jun 2021 15:03:51 +0000
(18:03 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 17 Jun 2021 15:34:29 +0000
(17:34 +0200)
We don't want those around confusing people.
ERST_NUM_SEGS is used both when allocating event ring segments, and when
allocating entries in the event ring segment table (erst).
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link:
https://lore.kernel.org/r/20210617150354.1512157-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.h
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci.h
b/drivers/usb/host/xhci.h
index a1d5ffb7474d3e2c25b07ed8f62cc00d3a1c2150..85ba326806ab04694236dd598bad0e3a58240e33 100644
(file)
--- a/
drivers/usb/host/xhci.h
+++ b/
drivers/usb/host/xhci.h
@@
-1663,10
+1663,6
@@
struct urb_priv {
* meaning 64 ring segments.
* Initial allocated size of the ERST, in number of entries */
#define ERST_NUM_SEGS 1
-/* Initial allocated size of the ERST, in number of entries */
-#define ERST_SIZE 64
-/* Initial number of event segment rings allocated */
-#define ERST_ENTRIES 1
/* Poll every 60 seconds */
#define POLL_TIMEOUT 60
/* Stop endpoint command timeout (secs) for URB cancellation watchdog timer */