All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch 1/3] tabled: drop commented messages
@ 2009-12-16  5:09 Pete Zaitcev
  0 siblings, 0 replies; only message in thread
From: Pete Zaitcev @ 2009-12-16  5:09 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Project Hail List

Less clutter is good.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>

---
 server/cldu.c      |    3 ---
 server/storage.c   |   16 ----------------
 server/storparse.c |    1 -
 3 files changed, 20 deletions(-)

Jeff, if you recall, I promised to do this as a condition for a past merge.

commit a0c650bf82f22cd302fdb5e8a91537bb17f47d69
Author: Master <zaitcev@lembas.zaitcev.lan>
Date:   Tue Dec 15 21:12:57 2009 -0700

    Drop commented messages.

diff --git a/server/cldu.c b/server/cldu.c
index 467f6c2..609ed56 100644
--- a/server/cldu.c
+++ b/server/cldu.c
@@ -635,9 +635,6 @@ static int cldu_open_x_cb(struct cldc_call_opts *carg, enum cle_err_codes errc)
 		return 0;
 	}
 
-	// if (debugging)
-	// 	applog(LOG_DEBUG, "CLD directory \"%s\" opened", sp->xfname);
-
 	/*
 	 * Read the directory.
 	 */
diff --git a/server/storage.c b/server/storage.c
index b8f74e4..cc7066f 100644
--- a/server/storage.c
+++ b/server/storage.c
@@ -423,22 +423,6 @@ static int stor_add_node_addr(struct storage_node *sn,
 		sn->addr_af = res->ai_family;
 		sn->alen = res->ai_addrlen;
 
-#if 0
-		if (debugging) {
-			char nhost[41];
-			char nport[6];
-			if (getnameinfo((struct sockaddr *) &sn->addr, sn->alen,
-					nhost, sizeof(nhost),
-				        nport, sizeof(nport),
-					NI_NUMERICHOST|NI_NUMERICSERV) == 0) {
-				applog(LOG_INFO, "Found Chunk host %s port %s",
-				       nhost, nport);
-			} else {
-				applog(LOG_INFO, "Found Chunk host");
-			}
-		}
-#endif
-
 		/* Use just the first address for now. */
 		freeaddrinfo(res0);
 		return 0;
diff --git a/server/storparse.c b/server/storparse.c
index 25841d2..35548bf 100644
--- a/server/storparse.c
+++ b/server/storparse.c
@@ -145,7 +145,6 @@ static void cfg_elm_end_geo(struct config_context *cc)
 	}
 
 	if (!cc->loc.rack) {
-		// applog(LOG_WARNING, "%s: No rack in Geo element", cc->fname);
 		goto end;
 	}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-16  5:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-16  5:09 [Patch 1/3] tabled: drop commented messages Pete Zaitcev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.