Skip to contentSkip to conversation

tabled: drop commented messages

PATCH In review Pete Zaitcev 1 participant 1 message Dec 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 tabled: drop commented messages

Less clutter is good.

---
 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 <[email protected]>
Date:   Tue Dec 15 21:12:57 2009 -0700

Drop commented messages.

server/cldu.c +0 -3
index 467f6c2..609ed56 100644
@@ -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.
 	 */
server/storage.c +0 -16
index b8f74e4..cc7066f 100644
@@ -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;
server/storparse.c +0 -1
index 25841d2..35548bf 100644
@@ -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;
 	}