diff options
author | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-09 19:51:54 -0500 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-09 19:51:54 -0500 |
commit | e055f13a6d8448d4f23121b7b11340c3fb55cce6 (patch) | |
tree | d74ff15e1a6fa7e6bbf68510ebd7bb4ab11ba7e9 | |
parent | 14d676f56fad26fd3c31eeff5d4ef8ea4a163571 (diff) |
[XFS] Remove unused tracing code
None of this code appears to be used anywhere so remove it.
Reviewed-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
-rw-r--r-- | fs/xfs/xfs_inode.c | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_inode.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 063da344e185..f6b4c0f5bfd3 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -3232,8 +3232,6 @@ corrupt_out: | |||
3232 | 3232 | ||
3233 | 3233 | ||
3234 | #ifdef XFS_ILOCK_TRACE | 3234 | #ifdef XFS_ILOCK_TRACE |
3235 | ktrace_t *xfs_ilock_trace_buf; | ||
3236 | |||
3237 | void | 3235 | void |
3238 | xfs_ilock_trace(xfs_inode_t *ip, int lock, unsigned int lockflags, inst_t *ra) | 3236 | xfs_ilock_trace(xfs_inode_t *ip, int lock, unsigned int lockflags, inst_t *ra) |
3239 | { | 3237 | { |
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 558253e6fb43..64222e266df7 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h | |||
@@ -223,7 +223,6 @@ struct xfs_dquot; | |||
223 | 223 | ||
224 | #if defined(XFS_ILOCK_TRACE) | 224 | #if defined(XFS_ILOCK_TRACE) |
225 | #define XFS_ILOCK_KTRACE_SIZE 32 | 225 | #define XFS_ILOCK_KTRACE_SIZE 32 |
226 | extern ktrace_t *xfs_ilock_trace_buf; | ||
227 | extern void xfs_ilock_trace(struct xfs_inode *, int, unsigned int, inst_t *); | 226 | extern void xfs_ilock_trace(struct xfs_inode *, int, unsigned int, inst_t *); |
228 | #else | 227 | #else |
229 | #define xfs_ilock_trace(i,n,f,ra) | 228 | #define xfs_ilock_trace(i,n,f,ra) |