From: YueHaibing Date: Fri, 9 Aug 2019 08:42:31 +0000 (+0800) Subject: afs: remove unused variable 'afs_zero_fid' X-Git-Tag: for-linus-2019-09-27~84^2~3 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=52c9c130780095fdf72fbf6920a6a1c936fb5e6f;p=linux-2.6-block.git afs: remove unused variable 'afs_zero_fid' fs/afs/fsclient.c:18:29: warning: afs_zero_fid defined but not used [-Wunused-const-variable=] It is never used since commit 025db80c9e42 ("afs: Trace the initiation and completion of client calls") Reported-by: Hulk Robot Signed-off-by: YueHaibing Signed-off-by: David Howells --- diff --git a/fs/afs/fsclient.c b/fs/afs/fsclient.c index 114f281f3687..67af0682342e 100644 --- a/fs/afs/fsclient.c +++ b/fs/afs/fsclient.c @@ -15,8 +15,6 @@ #include "xdr_fs.h" #include "protocol_yfs.h" -static const struct afs_fid afs_zero_fid; - static inline void afs_use_fs_server(struct afs_call *call, struct afs_cb_interest *cbi) { call->cbi = afs_get_cb_interest(cbi);