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>
This commit is contained in:
parent
217a55a338
commit
1e55817463
|
@ -122,12 +122,12 @@ static const struct file_operations sctpprobe_fops = {
|
||||||
.llseek = noop_llseek,
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
sctp_disposition_t jsctp_sf_eat_sack(struct net *net,
|
static sctp_disposition_t jsctp_sf_eat_sack(struct net *net,
|
||||||
const struct sctp_endpoint *ep,
|
const struct sctp_endpoint *ep,
|
||||||
const struct sctp_association *asoc,
|
const struct sctp_association *asoc,
|
||||||
const sctp_subtype_t type,
|
const sctp_subtype_t type,
|
||||||
void *arg,
|
void *arg,
|
||||||
sctp_cmd_seq_t *commands)
|
sctp_cmd_seq_t *commands)
|
||||||
{
|
{
|
||||||
struct sctp_transport *sp;
|
struct sctp_transport *sp;
|
||||||
static __u32 lcwnd = 0;
|
static __u32 lcwnd = 0;
|
||||||
|
|
Loading…
Reference in New Issue