summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-10-23 15:55:59 +0200
committerSteve French <stfrench@microsoft.com>2019-11-25 08:14:14 +0100
commitbe1bf978e5d7cf26a78091ce1dd7c77ac64a658f (patch)
tree1c771ecc7c581c76fd2fd1a88cabd7fe8a7856fb /fs
parentcifs: rename a variable in SendReceive() (diff)
downloadlinux-be1bf978e5d7cf26a78091ce1dd7c77ac64a658f.tar.xz
linux-be1bf978e5d7cf26a78091ce1dd7c77ac64a658f.zip
cifs: remove unused variable 'sid_user'
fs/cifs/cifsacl.c:43:30: warning: sid_user defined but not used [-Wunused-const-variable=] It is never used, so remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifsacl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c
index f842944a5c76..06ffe52bdcfa 100644
--- a/fs/cifs/cifsacl.c
+++ b/fs/cifs/cifsacl.c
@@ -39,8 +39,6 @@ static const struct cifs_sid sid_everyone = {
/* security id for Authenticated Users system group */
static const struct cifs_sid sid_authusers = {
1, 1, {0, 0, 0, 0, 0, 5}, {cpu_to_le32(11)} };
-/* group users */
-static const struct cifs_sid sid_user = {1, 2 , {0, 0, 0, 0, 0, 5}, {} };
/* S-1-22-1 Unmapped Unix users */
static const struct cifs_sid sid_unix_users = {1, 1, {0, 0, 0, 0, 0, 22},