summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-02-13 01:03:49 +0000
committerDavid S. Miller <davem@davemloft.net>2013-02-13 14:07:14 -0500
commit1e558174637689a53a24b4c94f6f1aed38361b3e (patch)
tree7b9e1be58c6a304ba1bc6e64986d32d313093c51 /net/sctp
parent217a55a338262521d5106dafda2fe7bfff6583be (diff)
downloadop-kernel-dev-1e558174637689a53a24b4c94f6f1aed38361b3e.zip
op-kernel-dev-1e558174637689a53a24b4c94f6f1aed38361b3e.tar.gz
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')
-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 5f7518d..4eaaaf6 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;
OpenPOWER on IntegriCloud