OSDN Git Service

proc: remove unused argument in proc_pid_lookup()
[uclinux-h8/linux.git] / fs / proc / root.c
index f4b1a9d..621e6ec 100644 (file)
@@ -154,7 +154,7 @@ static int proc_root_getattr(const struct path *path, struct kstat *stat,
 
 static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags)
 {
-       if (!proc_pid_lookup(dir, dentry, flags))
+       if (!proc_pid_lookup(dentry, flags))
                return NULL;
        
        return proc_lookup(dir, dentry, flags);