summaryrefslogtreecommitdiffstats
path: root/fs/xfs/quota/xfs_qm_syscalls.c
diff options
context:
space:
mode:
authorChristoph Hellwig2011-04-04 14:55:44 +0200
committerAlex Elder2011-04-08 15:09:12 +0200
commitecb697c16c1718ae97bb73ce41a5d5ac2aed29ec (patch)
treea4a54638bedf89e29fb8487b3493188d462b3fad /fs/xfs/quota/xfs_qm_syscalls.c
parentxfs: convert log tail checking to a warning (diff)
downloadkernel-qcow2-linux-ecb697c16c1718ae97bb73ce41a5d5ac2aed29ec.tar.gz
kernel-qcow2-linux-ecb697c16c1718ae97bb73ce41a5d5ac2aed29ec.tar.xz
kernel-qcow2-linux-ecb697c16c1718ae97bb73ce41a5d5ac2aed29ec.zip
xfs: fix variable set but not used warnings
GCC 4.6 now warnings about variables set but not used. Fix the trivially fixable warnings of this sort. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/quota/xfs_qm_syscalls.c')
-rw-r--r--fs/xfs/quota/xfs_qm_syscalls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/quota/xfs_qm_syscalls.c b/fs/xfs/quota/xfs_qm_syscalls.c
index c82f06778a27..c79859eaac7a 100644
--- a/fs/xfs/quota/xfs_qm_syscalls.c
+++ b/fs/xfs/quota/xfs_qm_syscalls.c
@@ -313,14 +313,12 @@ xfs_qm_scall_quotaon(
{
int error;
uint qf;
- uint accflags;
__int64_t sbflags;
flags &= (XFS_ALL_QUOTA_ACCT | XFS_ALL_QUOTA_ENFD);
/*
* Switching on quota accounting must be done at mount time.
*/
- accflags = flags & XFS_ALL_QUOTA_ACCT;
flags &= ~(XFS_ALL_QUOTA_ACCT);
sbflags = 0;