Skip to contentSkip to conversation

osm_log.c: Remove unnecessary initialization in osm_log

PATCH New Hal Rosenstock 1 participant 1 message Apr 8, 2013 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 osm_log.c: Remove unnecessary initialization in osm_log

---

opensm/osm_log.c +1 -1
index 327a89a..3460cc5 100644
@@ -119,7 +119,7 @@ void osm_log(IN osm_log_t * p_log, IN osm_log_level_t verbosity,
 	SYSTEMTIME st;
 	uint32_t pid = GetCurrentThreadId();
 #else
-	pid_t pid = 0;
+	pid_t pid;
 	time_t tim;
 	struct tm result;
 	uint64_t time_usecs;

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html