summaryrefslogtreecommitdiffstats
path: root/net/sctp/probe.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-02-13 02:03:49 +0100
committerDavid S. Miller <davem@davemloft.net>2013-02-13 20:07:14 +0100
commit1e558174637689a53a24b4c94f6f1aed38361b3e (patch)
tree7b9e1be58c6a304ba1bc6e64986d32d313093c51 /net/sctp/probe.c
parentbgmac: return error on failed PHY write (diff)
downloadlinux-1e558174637689a53a24b4c94f6f1aed38361b3e.tar.xz
linux-1e558174637689a53a24b4c94f6f1aed38361b3e.zip
net: sctp: minor: make jsctp_sf_eat_sack static
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>
Diffstat (limited to 'net/sctp/probe.c')
-rw-r--r--net/sctp/probe.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/sctp/probe.c b/net/sctp/probe.c
index 5f7518de2fd1..4eaaaf68e5b7 100644
--- a/net/sctp/probe.c
+++ b/net/sctp/probe.c
@@ -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;