]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
sctp: make array sctp_sched_ops static
authorColin Ian King <colin.king@canonical.com>
Wed, 11 Oct 2017 10:17:57 +0000 (11:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Oct 2017 03:18:25 +0000 (20:18 -0700)
commit1a37b770cf78dca77c386f8a95e05403233e4d52
tree501847294106d966d4c6addb8e61f777e19c0348
parentc24675f871d3bca569532b3744962dd49938ddff
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>
net/sctp/stream_sched.c