[openib-general] [PATCH TRIVIAL] opensm: osm_service: remove unused svc_id field
Sasha Khapyorsky
sashak at voltaire.com
Mon Nov 6 16:35:21 PST 2006
This removes unused (but confused) svc_id field from osm_svcr structure.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
osm/include/opensm/osm_service.h | 1 -
osm/opensm/osm_service.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/osm/include/opensm/osm_service.h b/osm/include/opensm/osm_service.h
index d496fd0..e68e295 100644
--- a/osm/include/opensm/osm_service.h
+++ b/osm/include/opensm/osm_service.h
@@ -101,7 +101,6 @@ BEGIN_C_DECLS
typedef struct _osm_svcr_t
{
cl_list_item_t list_item;
- ib_net64_t svc_id;
ib_service_record_t service_record;
uint32_t modified_time;
uint32_t lease_period;
diff --git a/osm/opensm/osm_service.c b/osm/opensm/osm_service.c
index d4a1dc1..42a5b51 100644
--- a/osm/opensm/osm_service.c
+++ b/osm/opensm/osm_service.c
@@ -82,7 +82,6 @@ osm_svcr_init(
CL_ASSERT( p_svcr );
p_svcr->modified_time = cl_get_time_stamp_sec();
- /* p_svcr->svc_id = p_svc_rec->service_id; */
/* We track the time left for this service in
an external field to avoid extra cl_ntoh/hton
--
1.4.3.3.g8387
More information about the general
mailing list