OSDN Git Service

cifs: remove set but not used variable 'sep'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 18 Dec 2018 01:35:29 +0000 (01:35 +0000)
committerSteve French <stfrench@microsoft.com>
Fri, 28 Dec 2018 16:09:46 +0000 (10:09 -0600)
commit5a650501eb8cb785593155441c5b0b9900edfcdf
tree16288c700920e45d99b5779d03bccda7d1e05ccc
parent1c780228e9d47b966983a8bbf475dd45967bf0d5
cifs: remove set but not used variable 'sep'

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

fs/cifs/cifs_dfs_ref.c: In function 'cifs_dfs_do_automount':
fs/cifs/cifs_dfs_ref.c:309:7: warning:
 variable 'sep' set but not used [-Wunused-but-set-variable]

It never used since introdution in commit 0f56b277073c ("cifs: Make use
of DFS cache to get new DFS referrals")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_dfs_ref.c