aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kkbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-kkbd.c')
-rw-r--r--src/mds-kkbd.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mds-kkbd.c b/src/mds-kkbd.c
index 4deb6f8..f5c44b8 100644
--- a/src/mds-kkbd.c
+++ b/src/mds-kkbd.c
@@ -187,11 +187,6 @@ static pthread_mutex_t send_mutex;
*/
static pthread_mutex_t mapping_mutex;
-/**
- * Whether the server should free memory as soon as possible
- */
-static volatile sig_atomic_t danger = 0;
-
/**
@@ -416,20 +411,6 @@ int __attribute__((const)) reexec_failure_recover(void)
/**
- * This function is called when a signal that
- * signals that the system is running out of memory
- * has been received
- *
- * @param signo The signal that has been received
- */
-void received_danger(int signo)
-{
- (void) signo;
- danger = 1;
-}
-
-
-/**
* Perform the server's mission
*
* @return Non-zero on error