diff mbox

[opensm] osm_log.c: Remove unnecessary initialization in osm_log

Message ID 5162ABD5.1050006@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Hal Rosenstock April 8, 2013, 11:36 a.m. UTC
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/opensm/osm_log.c b/opensm/osm_log.c
index 327a89a..3460cc5 100644
--- a/opensm/osm_log.c
+++ b/opensm/osm_log.c
@@ -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;