[Patch 1/3] tabled: drop commented messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Less clutter is good.

Signed-off-by: Pete Zaitcev <zaitcev@xxxxxxxxxx>

---
 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@xxxxxxxxxxxxxxxxxx>
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;
 	}
 
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux