xfs: fix set-but-unused warnings
authorDave Chinner <dchinner@redhat.com>
Wed, 3 Dec 2014 22:43:17 +0000 (09:43 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Dec 2014 22:43:17 +0000 (09:43 +1100)
commit32296f865e8d41ff8c337ce6f0b97eeda08988a3
treee4e2bb6a1db23d836cb081c5de61c4e46c9df543
parent9a2cc41cda189bea1fb9c41ef64d19949d3b2bcd
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>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_da_btree.c
fs/xfs/libxfs/xfs_dir2_block.c
fs/xfs/libxfs/xfs_dir2_leaf.c
fs/xfs/libxfs/xfs_dir2_node.c
fs/xfs/libxfs/xfs_dir2_sf.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_itable.c