From: Valery Yatsko Date: Sun, 27 Jul 2008 12:18:50 +0000 (+0400) Subject: Cleanup: removed unused initialVMTop variable from ircd.c and get_maxrss() from restart.c X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/69779265710e990ba7541198f281e19870c1ccc2 Cleanup: removed unused initialVMTop variable from ircd.c and get_maxrss() from restart.c --- diff --git a/src/ircd.c b/src/ircd.c index a3b5f825..3ddc79e9 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -103,7 +103,6 @@ int split_users; int split_servers; int eob_count; -unsigned long initialVMTop = 0; /* top of virtual memory at init */ const char *logFileName = LPATH; const char *pidFileName = PPATH; diff --git a/src/restart.c b/src/restart.c index ada978cf..a44cf082 100644 --- a/src/restart.c +++ b/src/restart.c @@ -45,9 +45,6 @@ restart(const char *mesg) abort(); was_here = YES; -#if 0 - ilog(L_MAIN, "Restarting Server because: %s, memory data limit: %ld", mesg, get_maxrss()); -#endif ilog(L_MAIN, "Restarting Server because: %s", mesg); server_reboot();