public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: David Teigland <teigland@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: STABLE3 - group_dameon: ifdef out unused code
Date: Mon, 11 May 2009 15:14:00 -0000	[thread overview]
Message-ID: <20090511151329.E260C120214@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9455ac4820ebe74b0ec586b2c7fae983cfe0f5bf
Commit:        9455ac4820ebe74b0ec586b2c7fae983cfe0f5bf
Parent:        3491452d008c0cf99719de02e17ad97c6dd3da19
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Wed May 6 11:50:13 2009 +0200
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Mon May 11 10:05:07 2009 -0500

group_dameon: ifdef out unused code

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 group/daemon/app.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/group/daemon/app.c b/group/daemon/app.c
index 4ba6625..702b56a 100644
--- a/group/daemon/app.c
+++ b/group/daemon/app.c
@@ -447,6 +447,7 @@ static int all_levels_all_stopped(group_t *g, event_t *rev)
 	return 1;
 }
 
+#if 0
 void dump_recovery_sets(void)
 {
 	struct recovery_set *rs;
@@ -461,6 +462,7 @@ void dump_recovery_sets(void)
 		}
 	}
 }
+#endif
 
 static int group_in_recovery_set(struct recovery_set *rs, group_t *g)
 {
@@ -954,6 +956,7 @@ int event_state_starting(app_t *a)
 	return FALSE;
 }
 
+#if 0
 int event_state_all_stopped(app_t *a)
 {
 	if (a->current_event->state == EST_JOIN_ALL_STOPPED ||
@@ -962,6 +965,7 @@ int event_state_all_stopped(app_t *a)
 		return TRUE;
 	return FALSE;
 }
+#endif
 
 static int event_state_all_started(app_t *a)
 {


                 reply	other threads:[~2009-05-11 15:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090511151329.E260C120214@lists.fedorahosted.org \
    --to=teigland@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).