diff mbox

iba/ib_types.h: remove assertion in ib_get_attr_offset()

Message ID 20100614130404.GZ20172@me (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Sasha Khapyorsky June 14, 2010, 1:04 p.m. UTC
None
diff mbox

Patch

diff --git a/opensm/include/iba/ib_types.h b/opensm/include/iba/ib_types.h
index 203c319..e1bc102 100644
--- a/opensm/include/iba/ib_types.h
+++ b/opensm/include/iba/ib_types.h
@@ -4395,7 +4395,6 @@  static inline uint32_t OSM_API ib_get_attr_size(IN const ib_net16_t attr_offset)
 
 static inline ib_net16_t OSM_API ib_get_attr_offset(IN const uint32_t attr_size)
 {
-	CL_ASSERT((attr_size & 0x07) == 0);
 	return (cl_hton16((uint16_t) (attr_size >> 3)));
 }