From 428ea5247cb0941c56faab205b5110beb0d4f97e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 5 Oct 2011 11:43:30 +1100 Subject: [PATCH] fs/namei.c: remove unused getname_flags() Cc: Al Viro 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 55e45a8b8ff0..8913e9a6f789 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