]> asedeno.scripts.mit.edu Git - linux.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)
commit4fe171bb81b13b40bf568330ec3716dfb304ced1
tree7ffb91232caefb23d622f69bb1cc4515617c5381
parent51590df4f3306cb1f43dca54e3ccdd121ab89594
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 d2ddc776a458 ("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