aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/dynamic_queue_limits.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-10-17 17:16:52 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-19 13:33:51 +0100
commit7a0947e755084b918e33242fd558e55cb443408e (patch)
tree0369e4a6596d1cec8eeb1decc39653fca9477bb2 /include/linux/dynamic_queue_limits.h
parentnet: l2tp: mark expected switch fall-through (diff)
downloadwireguard-linux-7a0947e755084b918e33242fd558e55cb443408e.tar.xz
wireguard-linux-7a0947e755084b918e33242fd558e55cb443408e.zip
dql: make dql_init return void
dql_init always returned 0, and the only place that uses it in network core code didn't care about the return value anyway. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Acked-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/dynamic_queue_limits.h')
-rw-r--r--include/linux/dynamic_queue_limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dynamic_queue_limits.h b/include/linux/dynamic_queue_limits.h
index a4be70398ce1..f69f98541953 100644
--- a/include/linux/dynamic_queue_limits.h
+++ b/include/linux/dynamic_queue_limits.h
@@ -98,7 +98,7 @@ void dql_completed(struct dql *dql, unsigned int count);
void dql_reset(struct dql *dql);
/* Initialize dql state */
-int dql_init(struct dql *dql, unsigned hold_time);
+void dql_init(struct dql *dql, unsigned int hold_time);
#endif /* _KERNEL_ */