diff --git a/fs/9p/acl.c b/fs/9p/acl.c
index 814be079c185277e5fde8f186cd1d2611e32e73d..e9cb57f07546b4a5f0d0ba5074c0f63276d4bc6d 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);