summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2012-12-28 18:18:55 +0000
committerDavid S. Miller <davem@davemloft.net>2012-12-28 20:32:36 -0800
commitbd2a13e2ebedc084ca4d5bc77e8ed03cf793a130 (patch)
tree63262b85770be4a6b749e2122a075030a2e4dd3d /net/sctp
parentb2111724a639ec31a19fdca62ea3a0a222d59d11 (diff)
downloadop-kernel-dev-bd2a13e2ebedc084ca4d5bc77e8ed03cf793a130.zip
op-kernel-dev-bd2a13e2ebedc084ca4d5bc77e8ed03cf793a130.tar.gz
sctp: make sctp_addr_wq_timeout_handler static
Fix sparse warning about local function that should be static. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index f898b1c..1c2e46c 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -595,7 +595,7 @@ static void sctp_v4_ecn_capable(struct sock *sk)
INET_ECN_xmit(sk);
}
-void sctp_addr_wq_timeout_handler(unsigned long arg)
+static void sctp_addr_wq_timeout_handler(unsigned long arg)
{
struct net *net = (struct net *)arg;
struct sctp_sockaddr_entry *addrw, *temp;
OpenPOWER on IntegriCloud