[ofa-general] [PATCH] opensm/osm_perfmgr_db.c: Remove unneeded initialization in perfmgr_db_print_by_name

Hal Rosenstock hnrose at comcast.net
Wed May 6 04:35:52 PDT 2009


Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/opensm/opensm/osm_perfmgr_db.c b/opensm/opensm/osm_perfmgr_db.c
index b0bfd36..3034894 100644
--- a/opensm/opensm/osm_perfmgr_db.c
+++ b/opensm/opensm/osm_perfmgr_db.c
@@ -693,8 +693,8 @@ static void db_dump(cl_map_item_t * const p_map_item, void *context)
 void
 perfmgr_db_print_by_name(perfmgr_db_t * db, char *nodename, FILE *fp)
 {
-	cl_map_item_t *item = NULL;
-	db_node_t *node = NULL;
+	cl_map_item_t *item;
+	db_node_t *node;
 
 	cl_plock_acquire(&db->lock);
 



More information about the general mailing list