summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-11-06 11:53:58 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2017-11-06 11:53:58 -0800
commitfc41e2a1931041b04e0f3230effd1c7a9364c8fc (patch)
treea96a6e0a8642b9225993922eb18fe39edf9ac420 /fs/xfs/xfs.h
parent866d7826c966d0d17cb31eaf394728a163ad7227 (diff)
downloadlinux-fc41e2a1931041b04e0f3230effd1c7a9364c8fc.tar.bz2
xfs: always define STATIC to static noinline
Ever since we added the noinline tag there is no good reason to define away the static for debug builds - we'll get just as good debug information with our without it, so don't mess up sparse and other checkers due to it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs.h')
-rw-r--r--fs/xfs/xfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs.h b/fs/xfs/xfs.h
index 80cd0fd86783..5ff7f228d616 100644
--- a/fs/xfs/xfs.h
+++ b/fs/xfs/xfs.h
@@ -19,7 +19,6 @@
#define __XFS_H__
#ifdef CONFIG_XFS_DEBUG
-#define STATIC
#define DEBUG 1
#define XFS_BUF_LOCK_TRACKING 1
#endif