]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Remove set but not used variable 'ret'
authorzhengbin <zhengbin13@huawei.com>
Thu, 21 Nov 2019 09:12:18 +0000 (09:12 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 21 Nov 2019 20:36:04 +0000 (20:36 +0000)
commit0cd3e363c031aa8d1550dbab7afe205638dc97d4
tree7ffb91232caefb23d622f69bb1cc4515617c5381
parent7ff3b42bfa6a84bdd882f0f2f7768711e4a60b86
afs: Remove set but not used variable 'ret'

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

fs/afs/server.c: In function afs_install_server:
fs/afs/server.c:157:6: warning: variable ret set but not used [-Wunused-but-set-variable]

It is not used since commit b7b4753fe8b8 ("afs:
Overhaul volume and server record caching and fileserver rotation")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/server.c