Skip to content
Commit 4fe171bb authored by zhengbin's avatar zhengbin Committed by David Howells
Browse files

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 d2ddc776 ("afs:
Overhaul volume and server record caching and fileserver rotation")

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarzhengbin <zhengbin13@huawei.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 51590df4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment