Skip to content

Commit e08dc13

Browse files
committed
p9: avoid unused variable warning
Commit 4e34e71 ("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>
1 parent 1380516 commit e08dc13

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎fs/9p/acl.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ static struct posix_acl *v9fs_get_cached_acl(struct inode *inode, int type)
9898

9999
struct posix_acl *v9fs_iop_get_acl(struct inode *inode, int type)
100100
{
101-
struct posix_acl *acl;
102101
struct v9fs_session_info *v9ses;
103102

104103
v9ses = v9fs_inode2v9ses(inode);

0 commit comments

Comments
 (0)