[openib-general] [PATCH 3/4] osm: TRIVIAL - making some getter and setter inline (fat-tree routing)

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Mon Jan 1 05:31:25 PST 2007


Making some getter and setter inline.

Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 osm/opensm/osm_ucast_ftree.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/osm/opensm/osm_ucast_ftree.c b/osm/opensm/osm_ucast_ftree.c
index e767e64..9a1ac69 100644
--- a/osm/opensm/osm_ucast_ftree.c
+++ b/osm/opensm/osm_ucast_ftree.c
@@ -751,7 +751,7 @@ __osm_ftree_sw_add_port(
 
 /***************************************************/
 
-static void
+static inline void
 __osm_ftree_sw_set_fwd_table_block(
     IN  ftree_sw_t * p_sw,
     IN  uint16_t     lid_ho, 
@@ -762,7 +762,7 @@ __osm_ftree_sw_set_fwd_table_block(
 
 /***************************************************/
 
-static uint8_t
+static inline uint8_t
 __osm_ftree_sw_get_fwd_table_block(
     IN  ftree_sw_t * p_sw,
     IN  uint16_t     lid_ho)
-- 
1.4.4.1.GIT





More information about the general mailing list