From c38ad9061fae84bba0e7a577108db59a9ccdb4ab Mon Sep 17 00:00:00 2001 From: Mark Haverkamp Date: Tue, 7 Sep 2004 15:14:59 +0000 Subject: [PATCH] Clean up some comments code. (comments, old macro). (Logical change 1.64) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@234 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/evt.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/exec/evt.c b/exec/evt.c index 85abb2f2..98a7515d 100644 --- a/exec/evt.c +++ b/exec/evt.c @@ -171,12 +171,6 @@ static DECLARE_LIST_INIT(ci_head); #define min(a,b) ((a) < (b) ? (a) : (b)) -#define ipaddr(a) \ - ((a) & 0xff), \ - (((a) >> 8) & 0xff), \ - (((a) >> 16) & 0xff), \ - (((a) >> 24) & 0xff) - /* * Throttle event delivery to applications to keep * the exec from using too much memory if the app is @@ -799,7 +793,7 @@ free_event_data(struct event_data *edp) } /* - * Check for expired events. Then re-arm the timer. + * Timer handler to delete expired events. * */ static void @@ -2108,7 +2102,7 @@ static int evt_exec_init(void) dropped_event = malloc(dropped_event_size); if (dropped_event == 0) { log_printf(LOG_LEVEL_ERROR, - "Memory Allocation Failure, event service not started\n"); + "Memory Allocation Failure, event service not started\n"); errno = ENOMEM; return -1; }