Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6fa1a4d authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

[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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5c94bf86
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -112,9 +112,9 @@ extern int sysctl_sctp_mem[3];
extern int sysctl_sctp_rmem[3];
extern int sysctl_sctp_rmem[3];
extern int sysctl_sctp_wmem[3];
extern int sysctl_sctp_wmem[3];


int sctp_memory_pressure;
static int sctp_memory_pressure;
atomic_t sctp_memory_allocated;
static atomic_t sctp_memory_allocated;
atomic_t sctp_sockets_allocated;
static atomic_t sctp_sockets_allocated;


static void sctp_enter_memory_pressure(void)
static void sctp_enter_memory_pressure(void)
{
{