[openib-general] [PATCH] Eliminate no longer used phys_port_cnt member in mad and agent structures

Hal Rosenstock halr at voltaire.com
Mon Nov 8 12:29:04 PST 2004


Eliminate no longer used phys_port_cnt member in mad and agent
structures

Index: mad_priv.h
===================================================================
--- mad_priv.h	(revision 1177)
+++ mad_priv.h	(working copy)
@@ -115,7 +115,6 @@
 
 	atomic_t refcount;
 	wait_queue_head_t wait;
-	int phys_port_cnt;
 	u8 rmpp_version;
 };
 
@@ -157,7 +156,6 @@
 	struct list_head port_list;
 	struct ib_device *device;
 	int port_num;
-	int phys_port_cnt;
 	struct ib_cq *cq;
 	struct ib_pd *pd;
 	struct ib_mr *mr;
Index: agent_priv.h
===================================================================
--- agent_priv.h	(revision 1177)
+++ agent_priv.h	(working copy)
@@ -42,7 +42,6 @@
 	struct list_head send_posted_list;
 	spinlock_t send_list_lock;
 	int port_num;
-	int phys_port_cnt;
 	struct ib_mad_agent *dr_smp_agent;    /* DR SM class */
 	struct ib_mad_agent *lr_smp_agent;    /* LR SM class */
 	struct ib_mad_agent *perf_mgmt_agent; /* PerfMgmt class */






More information about the general mailing list