/* tipc_ref_deref - return pointer referenced object (without locking it)  */
void* tipc_ref_deref(u32 ref)
/* tipc_ref_deref - return pointer referenced object (without locking it)  */
void* tipc_ref_deref(u32 ref)
{
	if (likely(tipc_ref_table.entries)) {
		struct reference *entry;
		entry = &tipc_ref_table.entries[ref &
						tipc_ref_table.index_mask];
		if (likely(entry->ref == ref))
			return entry->object;
	}
	return NULL;
}