]> Git Repo - linux.git/blobdiff - lib/dynamic_queue_limits.c
ACPI: resource: do IRQ override on LENOVO IdeaPad
[linux.git] / lib / dynamic_queue_limits.c
index da4672a50a54a2046bb86479c57dc11552a1981c..fde0aa2441480032d8ec1b2a42fef62753c0afe2 100644 (file)
@@ -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.
@@ -128,12 +128,11 @@ void dql_reset(struct dql *dql)
 }
 EXPORT_SYMBOL(dql_reset);
 
-int dql_init(struct dql *dql, unsigned hold_time)
+void dql_init(struct dql *dql, unsigned int hold_time)
 {
        dql->max_limit = DQL_MAX_LIMIT;
        dql->min_limit = 0;
        dql->slack_hold_time = hold_time;
        dql_reset(dql);
-       return 0;
 }
 EXPORT_SYMBOL(dql_init);
This page took 0.039965 seconds and 4 git commands to generate.