net: sctp: minor: make jsctp_sf_eat_sack static
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 13 Feb 2013 01:03:49 +0000 (01:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2013 19:07:14 +0000 (14:07 -0500)
The function jsctp_sf_eat_sack can be made static, no need to extend
its visibility.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/probe.c

index 5f7518de2fd1755a7f2b874144740beb8d6d7d89..4eaaaf68e5b7a13c7af6af7ae8ced55837478518 100644 (file)
@@ -122,12 +122,12 @@ static const struct file_operations sctpprobe_fops = {
        .llseek = noop_llseek,
 };
 
-sctp_disposition_t jsctp_sf_eat_sack(struct net *net,
-                                    const struct sctp_endpoint *ep,
-                                    const struct sctp_association *asoc,
-                                    const sctp_subtype_t type,
-                                    void *arg,
-                                    sctp_cmd_seq_t *commands)
+static sctp_disposition_t jsctp_sf_eat_sack(struct net *net,
+                                           const struct sctp_endpoint *ep,
+                                           const struct sctp_association *asoc,
+                                           const sctp_subtype_t type,
+                                           void *arg,
+                                           sctp_cmd_seq_t *commands)
 {
        struct sctp_transport *sp;
        static __u32 lcwnd = 0;