Skip to contentSkip to conversation

afs: remove unused variable afs_zero_fid

PATCH New Colin King 1 participant 1 message Sep 4, 2018

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 afs: remove unused variable afs_zero_fid

From: Colin Ian King <[email protected]>

Variable afs_zero_fid is defined but not used, hence it is redundant and can be removed.

Cleans up clang warning:
'afs_zero_fid' defined but not used [-Wunused-const-variable=]

---
 fs/afs/fsclient.c | 2 --
 1 file changed, 2 deletions(-)
fs/afs/fsclient.c +0 -2
index 50929cb91732..1310ffe8da48 100644
@@ -18,8 +18,6 @@
 #include "afs_fs.h"
 #include "xdr_fs.h"
 
-static const struct afs_fid afs_zero_fid;
-
 /*
  * We need somewhere to discard into in case the server helpfully returns more
  * than we asked for in FS.FetchData{,64}.
Signature · 1 line
2.17.1