diff options
author | Zhikang Zhang <zhangzhikang1@huawei.com> | 2019-03-05 18:50:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-06 00:07:21 -0500 |
commit | 867aaccf1f2c35eff4706ea69299f731f2a1953e (patch) | |
tree | 2af049914eb46fc189bbc71749efb896d80cb5f3 /fs/proc/root.c | |
parent | 45f68ab50234e825cdc7aee76a40d227d92eea14 (diff) |
proc: remove unused argument in proc_pid_lookup()
[adobriyan@gmail.com: delete "extern" from prototype]
Link: http://lkml.kernel.org/r/20190114195635.GA9372@avx2
Signed-off-by: Zhikang Zhang <zhangzhikang1@huawei.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r-- | fs/proc/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c index f4b1a9d2eca6..621e6ec322ca 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
@@ -154,7 +154,7 @@ static int proc_root_getattr(const struct path *path, struct kstat *stat, | |||
154 | 154 | ||
155 | static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) | 155 | static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) |
156 | { | 156 | { |
157 | if (!proc_pid_lookup(dir, dentry, flags)) | 157 | if (!proc_pid_lookup(dentry, flags)) |
158 | return NULL; | 158 | return NULL; |
159 | 159 | ||
160 | return proc_lookup(dir, dentry, flags); | 160 | return proc_lookup(dir, dentry, flags); |