2020-01-21 08:50:30

by Alex Shi

[permalink] [raw]
Subject: [PATCH] fcache: remove unused macro CACHEFILES_KEYBUF_SIZE

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 <[email protected]>
Cc: David Howells <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
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