From aa00018e749635cd98386c693f6c0ee1573b0b33 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 25 Oct 2011 01:53:28 +1100 Subject: [PATCH] readlinkat-ensure-we-return-enoent-for-the-empty-pathname-for-normal-lookups-fix remove unused getname_flags() Cc: Al Viro Cc: Andy Whitcroft Signed-off-by: Andrew Morton --- fs/namei.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 28b440c2cb4b..8f9c68d8b257 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -161,11 +161,6 @@ static char *getname_flags_empty(const char __user * filename, return result; } -static char *getname_flags(const char __user * filename, int flags) -{ - return getname_flags_empty(filename, flags, 0); -} - char *getname(const char __user * filename) { return getname_flags_empty(filename, 0, 0); -- 2.39.5