OSHMEM: fix warnings
Thanks to Jeff for spotting. fixed by Igor, reviewed by Mike cmr=v1.7.5:reviewer=ompi-rm1.7 This commit was SVN r30951.
Этот коммит содержится в:
родитель
7a44af375c
Коммит
1657d6047c
@ -696,22 +696,3 @@ int mca_memheap_buddy_finalize()
|
||||
return OSHMEM_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the base address of the symmetric heap.
|
||||
*/
|
||||
|
||||
static inline void* mca_memheap_buddy_get_symmetric_heap_base_addr(void)
|
||||
{
|
||||
return memheap_buddy.heap.symmetric_heap;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the last address in the symmetric heap.
|
||||
*/
|
||||
static inline void* mca_memheap_buddy_get_symmetric_heap_last_addr(void)
|
||||
{
|
||||
return (void*) ((unsigned char*) (memheap_buddy.heap.symmetric_heap)
|
||||
+ (1ULL << memheap_buddy.heap.max_order)
|
||||
+ (1ULL << memheap_buddy.private_heap.max_order));
|
||||
}
|
||||
|
||||
|
@ -239,8 +239,6 @@ segment_create(map_segment_t *ds_buf,
|
||||
static void *
|
||||
segment_attach(map_segment_t *ds_buf, sshmem_mkey_t *mkey)
|
||||
{
|
||||
void *addr = NULL;
|
||||
|
||||
assert(ds_buf);
|
||||
assert(mkey->va_base == 0);
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user