--- src/base/ncs_main_papi.h | 8 -------- src/base/ncsgl_defs.h | 7 ------- 2 files changed, 15 deletions(-)
diff --git a/src/base/ncs_main_papi.h b/src/base/ncs_main_papi.h index 8f8f909a5..c3255d14f 100644 --- a/src/base/ncs_main_papi.h +++ b/src/base/ncs_main_papi.h @@ -87,14 +87,6 @@ void ncs_leap_shutdown(void); NCS_NODE_ID ncs_get_node_id(void); #define m_NCS_GET_NODE_ID ncs_get_node_id() -static inline SlotSubslotId GetSlotSubslotIdFromNodeId(NCS_NODE_ID node_id) { - uint32_t kSubslotMask = 0xf; - uint32_t kSlotMask = 0xff; - uint32_t subslot_id = ((uint32_t)node_id) & kSubslotMask; - uint32_t slot_id = (((uint32_t)node_id) >> 8) & kSlotMask; - return ((subslot_id ^ kSubslotMask) << 8) | slot_id; -} - #ifdef __cplusplus } #endif diff --git a/src/base/ncsgl_defs.h b/src/base/ncsgl_defs.h index c6040dc59..b5c0adc35 100644 --- a/src/base/ncsgl_defs.h +++ b/src/base/ncsgl_defs.h @@ -70,15 +70,8 @@ typedef void* NCSCONTEXT; /* opaque context between svc-usr/svc-provider */ #define NCSCC_RC_CONTINUE 1023 #define NCSCC_RC_DUPLICATE_ENTRY 2011 -/************************************************* - * Maximum Slots (Including sub slots) supported - * 256 slots x 16 subslots - *************************************************/ -enum { kMaxSlotsSubslots = 4096 }; - typedef uint64_t MDS_DEST; typedef uint32_t NCS_NODE_ID; -typedef uint32_t SlotSubslotId; /* m_NCS_NODE_ID_FROM_MDS_DEST: Returns node-id if the MDS_DEST provided is an absolute destination. Returns 0 -- 2.13.3 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel