diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-09-12 09:18:00 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:19 -0400 |
commit | b6fa1a4d746488a7de95ec16afcaf3247fedb003 (patch) | |
tree | f2e0e652a413dc5a7a629ec10af64daaefe6c4e1 /net | |
parent | 5c94bf86c865fb779f1743672b4d0f6cdd706728 (diff) |
[SCTP] net/sctp/socket.c: make 3 variables static
This patch makes the following needlessly global variables static:
- sctp_memory_pressure
- sctp_memory_allocated
- sctp_sockets_allocated
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/sctp/socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index b9952425c79a..7738915011a0 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
@@ -112,9 +112,9 @@ extern int sysctl_sctp_mem[3]; | |||
112 | extern int sysctl_sctp_rmem[3]; | 112 | extern int sysctl_sctp_rmem[3]; |
113 | extern int sysctl_sctp_wmem[3]; | 113 | extern int sysctl_sctp_wmem[3]; |
114 | 114 | ||
115 | int sctp_memory_pressure; | 115 | static int sctp_memory_pressure; |
116 | atomic_t sctp_memory_allocated; | 116 | static atomic_t sctp_memory_allocated; |
117 | atomic_t sctp_sockets_allocated; | 117 | static atomic_t sctp_sockets_allocated; |
118 | 118 | ||
119 | static void sctp_enter_memory_pressure(void) | 119 | static void sctp_enter_memory_pressure(void) |
120 | { | 120 | { |