xfs: kill the STATIC_INLINE macro

Remove our own STATIC_INLINE macro.  For small function inside
implementation files just use STATIC and let gcc inline it, and for
those in headers do the normal static inline - they are all small
enough to be inlined for debug builds, too.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
This commit is contained in:
Christoph Hellwig
2009-11-14 16:17:22 +00:00
committed by Alex Elder
parent 5683f53e36
commit b8f82a4a6f
9 changed files with 17 additions and 36 deletions

View File

@@ -425,7 +425,7 @@ xfs_ialloc_ag_alloc(
return 0;
}
STATIC_INLINE xfs_agnumber_t
STATIC xfs_agnumber_t
xfs_ialloc_next_ag(
xfs_mount_t *mp)
{