]> asedeno.scripts.mit.edu Git - linux.git/commit
cifs: remove set but not used variable 'server'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 17 Jan 2020 02:57:17 +0000 (10:57 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 27 Jan 2020 01:24:17 +0000 (19:24 -0600)
commitc4985c3d9902dcd66f0b61d048560ef2cc415542
treefabe7d070ea4a53151c29b3af07e0c976aef3983
parent0a5a98863c9debc02387b3d23c46d187756f5e2b
cifs: remove set but not used variable 'server'

fs/cifs/smb2pdu.c: In function 'SMB2_query_directory':
fs/cifs/smb2pdu.c:4444:26: warning:
 variable 'server' set but not used [-Wunused-but-set-variable]
  struct TCP_Server_Info *server;

It is not used, so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c