Commit 1a37b770 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller

sctp: make array sctp_sched_ops static

The array sctp_sched_ops  is local to the source and
does not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'sctp_sched_ops' was not declared. Should it be static?
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c24675f8
...@@ -124,7 +124,7 @@ static struct sctp_sched_ops sctp_sched_fcfs = { ...@@ -124,7 +124,7 @@ static struct sctp_sched_ops sctp_sched_fcfs = {
extern struct sctp_sched_ops sctp_sched_prio; extern struct sctp_sched_ops sctp_sched_prio;
extern struct sctp_sched_ops sctp_sched_rr; extern struct sctp_sched_ops sctp_sched_rr;
struct sctp_sched_ops *sctp_sched_ops[] = { static struct sctp_sched_ops *sctp_sched_ops[] = {
&sctp_sched_fcfs, &sctp_sched_fcfs,
&sctp_sched_prio, &sctp_sched_prio,
&sctp_sched_rr, &sctp_sched_rr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment