cifs: remove set but not used variable 'smb_buf'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 7 Dec 2018 07:05:38 +0000 (07:05 +0000)
committerSteve French <stfrench@microsoft.com>
Mon, 24 Dec 2018 04:41:20 +0000 (22:41 -0600)
commit0f57451eebf1945790785df106497bf62812f62a
tree91faaa5d4a8f1778d563b3ad1a531ac7eace7775
parent07fa6010ff939ef6c5a9ae0d230fdfd3bad82722
cifs: remove set but not used variable 'smb_buf'

Fixes gcc '-Wunused-but-set-variable' warning:

fs/cifs/sess.c: In function '_sess_auth_rawntlmssp_assemble_req':
fs/cifs/sess.c:1157:18: warning:
 variable 'smb_buf' set but not used [-Wunused-but-set-variable]

It never used since commit cc87c47d9d7a ("cifs: Separate rawntlmssp auth
from CIFS_SessSetup()")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/sess.c