Skip to content

Commit

Permalink
sctp: fix up a spacing
Browse files Browse the repository at this point in the history
fix up spacing of proc_sctp_do_hmac_alg for according to the
proc_sctp_do_rto_min[max] in sysctl.c

Suggested-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
wangweidong authored and David S. Miller committed Dec 11, 2013
1 parent 4f3fdf3 commit b486b22
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions net/sctp/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ extern long sysctl_sctp_mem[3];
extern int sysctl_sctp_rmem[3];
extern int sysctl_sctp_wmem[3];

static int proc_sctp_do_hmac_alg(struct ctl_table *ctl,
int write,
static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,
void __user *buffer, size_t *lenp,

loff_t *ppos);
static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write,
void __user *buffer, size_t *lenp,
Expand Down Expand Up @@ -301,8 +299,7 @@ static struct ctl_table sctp_net_table[] = {
{ /* sentinel */ }
};

static int proc_sctp_do_hmac_alg(struct ctl_table *ctl,
int write,
static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,
void __user *buffer, size_t *lenp,
loff_t *ppos)
{
Expand Down

0 comments on commit b486b22

Please sign in to comment.