[Linux-cachefs] [PATCH] fcache: remove unused macro CACHEFILES_KEYBUF_SIZE

Alex Shi alex.shi at linux.alibaba.com
Tue Jan 21 08:49:03 UTC 2020


after commit 402cb8dda949 ("fscache: Attach the index key and aux data
to the cookie"), no one use this macro anymore, remove it.

Signed-off-by: Alex Shi <alex.shi at linux.alibaba.com>
Cc: David Howells <dhowells at redhat.com> 
Cc: linux-cachefs at redhat.com 
Cc: linux-kernel at vger.kernel.org 
---
 fs/cachefiles/namei.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c
index ecc8ecbbfa5a..e327f781dae7 100644
--- a/fs/cachefiles/namei.c
+++ b/fs/cachefiles/namei.c
@@ -18,8 +18,6 @@
 #include <linux/slab.h>
 #include "internal.h"
 
-#define CACHEFILES_KEYBUF_SIZE 512
-
 /*
  * dump debugging info about an object
  */
-- 
1.8.3.1





More information about the Linux-cachefs mailing list