msgr: remove dead kill_after code bits

This commit is contained in:
Sage Weil 2010-03-09 15:16:54 -08:00
parent 71cfe307db
commit 4fdb6ce34a

View File

@ -2082,15 +2082,6 @@ int SimpleMessenger::bind(int64_t force_nonce)
return accepter.bind(force_nonce);
}
class C_Die : public Context {
public:
void finish(int) {
cerr << "die" << std::endl;
exit(1);
}
};
static void write_pid_file(int pid)
{
if (!g_conf.pid_file)
@ -2180,10 +2171,6 @@ int SimpleMessenger::start(bool nodaemon)
write_pid_file(getpid());
}
// some debug hackery?
//if (g_conf.kill_after)
//qg_timer.add_event_after(g_conf.kill_after, new C_Die);
// go!
if (did_bind)
accepter.start();