aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/dynamic_queue_limits.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-12-11 17:48:50 +0000
committerMark Brown <broonie@kernel.org>2020-12-11 17:48:50 +0000
commit58f7553fa424fd0fd74e8b796d50c66014cebebe (patch)
tree8aecb1d047b1df2abbfa1ef323d2a724a6a61c77 /lib/dynamic_queue_limits.c
parentMerge remote-tracking branch 'spi/for-5.9' into spi-linus (diff)
parentspi: Limit the spi device max speed to controller's max speed (diff)
downloadwireguard-linux-58f7553fa424fd0fd74e8b796d50c66014cebebe.tar.xz
wireguard-linux-58f7553fa424fd0fd74e8b796d50c66014cebebe.zip
Merge remote-tracking branch 'spi/for-5.10' into spi-linus
Diffstat (limited to 'lib/dynamic_queue_limits.c')
-rw-r--r--lib/dynamic_queue_limits.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dynamic_queue_limits.c b/lib/dynamic_queue_limits.c
index e659a027036e..fde0aa244148 100644
--- a/lib/dynamic_queue_limits.c
+++ b/lib/dynamic_queue_limits.c
@@ -60,8 +60,8 @@ void dql_completed(struct dql *dql, unsigned int count)
* A decrease is only considered if the queue has been busy in
* the whole interval (the check above).
*
- * If there is slack, the amount of execess data queued above
- * the the amount needed to prevent starvation, the queue limit
+ * If there is slack, the amount of excess data queued above
+ * the amount needed to prevent starvation, the queue limit
* can be decreased. To avoid hysteresis we consider the
* minimum amount of slack found over several iterations of the
* completion routine.