[PATCH] orangefs: Remove commented out code in find_cached_xattr

Thorsten Blum posted 1 patch 1 month, 2 weeks ago
fs/orangefs/xattr.c | 5 -----
1 file changed, 5 deletions(-)
[PATCH] orangefs: Remove commented out code in find_cached_xattr
Posted by Thorsten Blum 1 month, 2 weeks ago
The code has been commented out since 2017 - remove it.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 fs/orangefs/xattr.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/fs/orangefs/xattr.c b/fs/orangefs/xattr.c
index eee3c5ed1bbb..4043942a3c33 100644
--- a/fs/orangefs/xattr.c
+++ b/fs/orangefs/xattr.c
@@ -72,11 +72,6 @@ static struct orangefs_cached_xattr *find_cached_xattr(struct inode *inode,
 	if (hlist_empty(h))
 		return NULL;
 	hlist_for_each_entry_safe(cx, tmp, h, node) {
-/*		if (!time_before(jiffies, cx->timeout)) {
-			hlist_del(&cx->node);
-			kfree(cx);
-			continue;
-		}*/
 		if (!strcmp(cx->key, key))
 			return cx;
 	}
-- 
Thorsten Blum <thorsten.blum@linux.dev>
GPG: 1D60 735E 8AEF 3BE4 73B6  9D84 7336 78FD 8DFE EAD4