summaryrefslogtreecommitdiffstats
path: root/net/sctp/sysctl.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-03-25 14:13:01 +0800
committerDavid S. Miller <davem@davemloft.net>2015-03-25 11:40:16 -0400
commit7e3ea6d5c4f4880dbdf85f4083f40d8a3dc9b906 (patch)
tree0ec5daee4af10d7e98b7c22a51a582dae5a60875 /net/sctp/sysctl.c
parent0144a81cccf7532bead90f0542f517bd028d3b3c (diff)
downloadop-kernel-dev-7e3ea6d5c4f4880dbdf85f4083f40d8a3dc9b906.zip
op-kernel-dev-7e3ea6d5c4f4880dbdf85f4083f40d8a3dc9b906.tar.gz
sctp: avoid to repeatedly declare external variables
Move the declaration for external variables to sctp.h file avoiding to repeatedly declare them with extern keyword. Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sysctl.c')
-rw-r--r--net/sctp/sysctl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c
index 2e9ada1..26d50c5 100644
--- a/net/sctp/sysctl.c
+++ b/net/sctp/sysctl.c
@@ -58,10 +58,6 @@ static unsigned long max_autoclose_max =
(MAX_SCHEDULE_TIMEOUT / HZ > UINT_MAX)
? UINT_MAX : MAX_SCHEDULE_TIMEOUT / HZ;
-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,
void __user *buffer, size_t *lenp,
loff_t *ppos);
OpenPOWER on IntegriCloud