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>
This commit is contained in:
Stephen Hemminger
2017-10-17 17:16:52 -07:00
committed by David S. Miller
parent be070c77ca
commit 7a0947e755
2 changed files with 2 additions and 3 deletions

View File

@@ -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_ */