[openib-general] [PATCH] OpenSM - Initializing a spinlock twi ce
Yael Kalka
yael at mellanox.co.il
Mon Aug 9 05:34:33 PDT 2004
Committed to OpenSM - gen1.
Thanks,
Yael
-----Original Message-----
From: Jan Daley [mailto:jdaley at systemfabricworks.com]
Sent: Saturday, August 07, 2004 12:09 AM
To: openib-general at openib.org
Subject: [openib-general] [PATCH] OpenSM - Initializing a spinlock twice
Removing the second initialization of the spinlock.
Index: opensm/cl_event_wheel.c
===================================================================
--- opensm/cl_event_wheel.c (revision 590)
+++ opensm/cl_event_wheel.c (working copy)
@@ -249,7 +249,6 @@
CL_ASSERT( cl_spinlock_init( &(p_event_wheel->lock) ) == CL_SUCCESS
);
cl_qlist_init( &p_event_wheel->events_wheel);
cl_qmap_init( &p_event_wheel->events_map );
- cl_spinlock_init( &p_event_wheel->lock );
/* init the timer with timeout */
cl_status = cl_timer_init(&p_event_wheel->timer,
Jan Daley
System Fabric Works
(512) 343-6101 x 13
_______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20040809/4c546ab9/attachment.html>
More information about the general
mailing list