From c62afbe77b704fe5b70531f8870ba0500adb033e Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 26 Jun 2014 17:15:50 +0200 Subject: [PATCH] cmdmon: remove disabled code --- cmdmon.c | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) diff --git a/cmdmon.c b/cmdmon.c index 211a4f3..738dbbd 100644 --- a/cmdmon.c +++ b/cmdmon.c @@ -667,46 +667,6 @@ token_acknowledged(unsigned long token, struct timeval *now) /* ================================================== */ -#if 0 -/* These two routines are not legal if the program is operating as a daemon, since - stderr is no longer open */ - -static void -print_command_packet(CMD_Request *pkt, int length) -{ - unsigned char *x; - int i; - x = (unsigned char *) pkt; - for (i=0; istatus = htons(STT_SUCCESS); } -/* ================================================== */ - -#if 0 -/* ================================================== */ - -static void -handle_(CMD_Request *rx_message, CMD_Reply *tx_message) -{ - int status; -} - - -#endif - /* ================================================== */ /* Read a packet and process it */