[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20191023135408.32932-1-yuehaibing@huawei.com>
Date: Wed, 23 Oct 2019 21:54:08 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <dhowells@...hat.com>
CC: <linux-afs@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<pmladek@...e.com>, <sergey.senozhatsky@...il.com>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] 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 <hulkci@...wei.com>
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
fs/afs/yfsclient.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c
index 9ac035c..46c679e 100644
--- a/fs/afs/yfsclient.c
+++ b/fs/afs/yfsclient.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);
--
2.7.4
Powered by blists - more mailing lists