]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fs/namei.c: remove unused getname_flags()
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 28 Sep 2011 00:50:40 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:37 +0000 (14:53 +1000)
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <>
fs/namei.c

index 28b440c2cb4beac8cd9a526555c1dd1572cf347e..8f9c68d8b2570cadb79ca5c4ee90f9688ccacfe8 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);