summaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-07-25 23:43:53 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-25 23:43:53 -0700
commite08dc1325feaf49eec392ee52feb2974ec3f5155 (patch)
tree07e0b7a436d75ba344955b7cfa4d5b49f3b115d6 /fs/9p
parent138051659902da7e6a09d379fee5dade2a80fcfd (diff)
p9: avoid unused variable warning
Commit 4e34e719e457 ("fs: take the ACL checks to common code") removed the use of the 'acl' variable in v9fs_iop_get_acl(), but left the variable definition around. Remove it to get rid of the warning: fs/9p/acl.c: In function ‘v9fs_iop_get_acl’: fs/9p/acl.c:101:20: warning: unused variable ‘acl’ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/9p')
-rw-r--r--fs/9p/acl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/9p/acl.c b/fs/9p/acl.c
index 814be079c18..e9cb57f0754 100644
--- a/fs/9p/acl.c
+++ b/fs/9p/acl.c
@@ -98,7 +98,6 @@ static struct posix_acl *v9fs_get_cached_acl(struct inode *inode, int type)
struct posix_acl *v9fs_iop_get_acl(struct inode *inode, int type)
{
- struct posix_acl *acl;
struct v9fs_session_info *v9ses;
v9ses = v9fs_inode2v9ses(inode);