]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
p9: avoid unused variable warning
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 06:43:53 +0000 (23:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 06:43:53 +0000 (23:43 -0700)
commite08dc1325feaf49eec392ee52feb2974ec3f5155
tree07e0b7a436d75ba344955b7cfa4d5b49f3b115d6
parent138051659902da7e6a09d379fee5dade2a80fcfd
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>
fs/9p/acl.c