Skip to content
Snippets Groups Projects
Commit d665c128 authored by Yi Wang's avatar Yi Wang Committed by Jakub Kicinski
Browse files

net: sched: taprio: fix -Wmissing-prototypes warnings


We get one warnings when build kernel W=1:
net/sched/sch_taprio.c:1155:6: warning: no previous prototype for ‘taprio_offload_config_changed’ [-Wmissing-prototypes]

Make the function static to fix this.

Fixes: 9c66d156 ("taprio: Add support for hardware offloading")
Signed-off-by: default avatarYi Wang <wang.yi59@zte.com.cn>
Acked-by: default avatarVinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
parent 682fa9fb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment