Skip to contentSkip to conversation

sctp: make sctp_addr_wq_timeout_handler static

PATCH Applied Stephen Hemminger 2 participants 2 messages Dec 29, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sctp: make sctp_addr_wq_timeout_handler static

Fix sparse warning about local function that should be static.

net/sctp/protocol.c +1 -1
@@ -595,7 +595,7 @@ static void sctp_v4_ecn_capable(struct s
 	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;