]> git.baikalelectronics.ru Git - kernel.git/commit
fs/cifs/sess.c: Remove set but not used variable 'capabilities'
authorzhengbin <zhengbin13@huawei.com>
Tue, 24 Sep 2019 02:13:47 +0000 (10:13 +0800)
committerSteve French <stfrench@microsoft.com>
Tue, 24 Sep 2019 03:51:57 +0000 (22:51 -0500)
commitd2fd87624d54054a5e61e80a1ce132e92dd09241
tree4071789e40bd08780d56735c4aaf1b3eda1803c1
parent0401eb3545c42959f7f27166d1c0378a9d9ea3da
fs/cifs/sess.c: Remove set but not used variable 'capabilities'

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

fs/cifs/sess.c: In function sess_auth_lanman:
fs/cifs/sess.c:910:8: warning: variable capabilities set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/sess.c