提交 e055f13a 编写于 作者: L Lachlan McIlroy

[XFS] Remove unused tracing code

None of this code appears to be used anywhere so remove it.
Reviewed-by: NChristoph Hellwig <hch@infradead.org>
Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
上级 14d676f5
...@@ -3232,8 +3232,6 @@ xfs_iflush_int( ...@@ -3232,8 +3232,6 @@ xfs_iflush_int(
#ifdef XFS_ILOCK_TRACE #ifdef XFS_ILOCK_TRACE
ktrace_t *xfs_ilock_trace_buf;
void void
xfs_ilock_trace(xfs_inode_t *ip, int lock, unsigned int lockflags, inst_t *ra) xfs_ilock_trace(xfs_inode_t *ip, int lock, unsigned int lockflags, inst_t *ra)
{ {
......
...@@ -223,7 +223,6 @@ struct xfs_dquot; ...@@ -223,7 +223,6 @@ struct xfs_dquot;
#if defined(XFS_ILOCK_TRACE) #if defined(XFS_ILOCK_TRACE)
#define XFS_ILOCK_KTRACE_SIZE 32 #define XFS_ILOCK_KTRACE_SIZE 32
extern ktrace_t *xfs_ilock_trace_buf;
extern void xfs_ilock_trace(struct xfs_inode *, int, unsigned int, inst_t *); extern void xfs_ilock_trace(struct xfs_inode *, int, unsigned int, inst_t *);
#else #else
#define xfs_ilock_trace(i,n,f,ra) #define xfs_ilock_trace(i,n,f,ra)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册