]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fs/namei.c: remove unused getname_flags()
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Oct 2011 00:43:30 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Oct 2011 06:06:53 +0000 (17:06 +1100)
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/namei.c

index 55e45a8b8ff083971804be6e0ea6485ac8012bc1..8913e9a6f789ad71f2ba46cf26d538a17b528f51 100644 (file)
@@ -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);