All callers were outside of the file these functions were declared in,
so nothing was ever inlined anyway.
Further this happens before I/O and any speedup by not having to do a
call will be dwarfed by the time it takes to talk to the server.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
}
}
-inline int orangefs_bufmap_size_query(void)
+int orangefs_bufmap_size_query(void)
{
struct orangefs_bufmap *bufmap = orangefs_bufmap_ref();
int size = bufmap ? bufmap->desc_size : 0;
return size;
}
-inline int orangefs_bufmap_shift_query(void)
+int orangefs_bufmap_shift_query(void)
{
struct orangefs_bufmap *bufmap = orangefs_bufmap_ref();
int shift = bufmap ? bufmap->desc_shift : 0;
struct orangefs_bufmap;
-/*
- * orangefs_bufmap_size_query is now an inline function because buffer
- * sizes are not hardcoded
- */
int orangefs_bufmap_size_query(void);
int orangefs_bufmap_shift_query(void);