]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
readlinkat-ensure-we-return-enoent-for-the-empty-pathname-for-normal-lookups-fix
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 24 Oct 2011 14:53:28 +0000 (01:53 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 08:47:33 +0000 (19:47 +1100)
remove unused getname_flags()

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
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);