Skip to content

Commit

Permalink
p9: avoid unused variable warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
torvalds committed Jul 26, 2011
1 parent 1380516 commit e08dc13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/9p/acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e08dc13

Please sign in to comment.