aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_itable.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-12-03 17:43:17 -0500
committerDave Chinner <david@fromorbit.com>2014-12-03 17:43:17 -0500
commit32296f865e8d41ff8c337ce6f0b97eeda08988a3 (patch)
treee4e2bb6a1db23d836cb081c5de61c4e46c9df543 /fs/xfs/xfs_itable.c
parent9a2cc41cda189bea1fb9c41ef64d19949d3b2bcd (diff)
xfs: fix set-but-unused warnings
The kernel compile doesn't turn on these checks by default, so it's only when I do a kernel-user sync that I find that there are lots of compiler warnings waiting to be fixed. Fix up these set-but-unused warnings. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_itable.c')
-rw-r--r--fs/xfs/xfs_itable.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c
index f1deb961a296..61abca96ca73 100644
--- a/fs/xfs/xfs_itable.c
+++ b/fs/xfs/xfs_itable.c
@@ -349,7 +349,6 @@ xfs_bulkstat(
349 int *done) /* 1 if there are more stats to get */ 349 int *done) /* 1 if there are more stats to get */
350{ 350{
351 xfs_buf_t *agbp; /* agi header buffer */ 351 xfs_buf_t *agbp; /* agi header buffer */
352 xfs_agi_t *agi; /* agi header data */
353 xfs_agino_t agino; /* inode # in allocation group */ 352 xfs_agino_t agino; /* inode # in allocation group */
354 xfs_agnumber_t agno; /* allocation group number */ 353 xfs_agnumber_t agno; /* allocation group number */
355 xfs_btree_cur_t *cur; /* btree cursor for ialloc btree */ 354 xfs_btree_cur_t *cur; /* btree cursor for ialloc btree */
@@ -408,7 +407,6 @@ xfs_bulkstat(
408 error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp); 407 error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp);
409 if (error) 408 if (error)
410 break; 409 break;
411 agi = XFS_BUF_TO_AGI(agbp);
412 /* 410 /*
413 * Allocate and initialize a btree cursor for ialloc btree. 411 * Allocate and initialize a btree cursor for ialloc btree.
414 */ 412 */