Commit c087fada authored by Lukas Wunner's avatar Lukas Wunner Committed by Greg Kroah-Hartman

xhci: Clean up stale comment on ERST_SIZE macro

Commit ebd88cf5 ("xhci: Remove unused defines for ERST_SIZE and
ERST_ENTRIES") removed the ERST_SIZE macro but retained a code comment
explaining the quantity chosen in the macro.

Remove the code comment as well.
Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20231019102924.2797346-11-mathias.nyman@linux.intel.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 08cc5616
...@@ -1643,12 +1643,7 @@ struct urb_priv { ...@@ -1643,12 +1643,7 @@ struct urb_priv {
struct xhci_td td[]; struct xhci_td td[];
}; };
/* /* Reasonable limit for number of Event Ring segments (spec allows 32k) */
* Each segment table entry is 4*32bits long. 1K seems like an ok size:
* (1K bytes * 8bytes/bit) / (4*32 bits) = 64 segment entries in the table,
* meaning 64 ring segments.
* Reasonable limit for number of Event Ring segments (spec allows 32k)
*/
#define ERST_MAX_SEGS 2 #define ERST_MAX_SEGS 2
/* Poll every 60 seconds */ /* Poll every 60 seconds */
#define POLL_TIMEOUT 60 #define POLL_TIMEOUT 60
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment