summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2012-12-28 19:18:55 +0100
committerDavid S. Miller <davem@davemloft.net>2012-12-29 05:32:36 +0100
commitbd2a13e2ebedc084ca4d5bc77e8ed03cf793a130 (patch)
tree63262b85770be4a6b749e2122a075030a2e4dd3d /net/sctp
parentnet: use per task frag allocator in skb_append_datato_frags (diff)
downloadlinux-bd2a13e2ebedc084ca4d5bc77e8ed03cf793a130.tar.xz
linux-bd2a13e2ebedc084ca4d5bc77e8ed03cf793a130.zip
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 f898b1c58bd2..1c2e46cb9191 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;