From: Andrew Morton Date: Wed, 5 Oct 2011 00:43:30 +0000 (+1100) Subject: fs/namei.c: remove unused getname_flags() X-Git-Tag: next-20111012~1^2~101 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aa0994288bca7214327ef19491e10525729986e3;p=karo-tx-linux.git fs/namei.c: remove unused getname_flags() Cc: Al Viro Signed-off-by: Andrew Morton --- 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);