summaryrefslogtreecommitdiffstats
path: root/net/sctp/stream_sched.c
diff options
context:
space:
mode:
authorColin Ian King2017-10-11 12:17:57 +0200
committerDavid S. Miller2017-10-12 05:18:25 +0200
commit1a37b770cf78dca77c386f8a95e05403233e4d52 (patch)
tree501847294106d966d4c6addb8e61f777e19c0348 /net/sctp/stream_sched.c
parentipv6: addrconf: don't use rtnl mutex in RTM_GETADDR (diff)
downloadkernel-qcow2-linux-1a37b770cf78dca77c386f8a95e05403233e4d52.tar.gz
kernel-qcow2-linux-1a37b770cf78dca77c386f8a95e05403233e4d52.tar.xz
kernel-qcow2-linux-1a37b770cf78dca77c386f8a95e05403233e4d52.zip
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: Colin Ian King <colin.king@canonical.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/stream_sched.c')
-rw-r--r--net/sctp/stream_sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/stream_sched.c b/net/sctp/stream_sched.c
index 03513a9fa110..0b83ec51e43b 100644
--- a/net/sctp/stream_sched.c
+++ b/net/sctp/stream_sched.c
@@ -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_rr;
-struct sctp_sched_ops *sctp_sched_ops[] = {
+static struct sctp_sched_ops *sctp_sched_ops[] = {
&sctp_sched_fcfs,
&sctp_sched_prio,
&sctp_sched_rr,