diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-12-18 02:51:51 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-12-28 10:09:46 -0600 |
commit | 29cbfa1b2be2e51785f871351d321896861f2ce8 (patch) | |
tree | 38f38603e63fdcc22bcc207730737ffcee669211 /usr | |
parent | 34bca9bbe7a81c4b53cacb20e996090ddf371c51 (diff) |
cifs: remove set but not used variable 'server'
Fixes gcc '-Wunused-but-set-variable' warning:
fs/cifs/smb2pdu.c: In function 'smb311_posix_mkdir':
fs/cifs/smb2pdu.c:2040:26: warning:
variable 'server' set but not used [-Wunused-but-set-variable]
fs/cifs/smb2pdu.c: In function 'build_qfs_info_req':
fs/cifs/smb2pdu.c:4067:26: warning:
variable 'server' set but not used [-Wunused-but-set-variable]
The first 'server' never used since commit bea851b8babe ("smb3: Fix mode on
mkdir on smb311 mounts")
And the second not used since commit 1fc6ad2f10ad ("cifs: remove
header_preamble_size where it is always 0")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions