diff options
| author | Zhikang Zhang <[email protected]> | 2019-03-05 23:50:29 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-03-06 05:07:21 +0000 |
| commit | 867aaccf1f2c35eff4706ea69299f731f2a1953e (patch) | |
| tree | 2af049914eb46fc189bbc71749efb896d80cb5f3 /fs/proc/root.c | |
| parent | fs/proc/thread_self.c: code cleanup for proc_setup_thread_self() (diff) | |
| download | kernel-867aaccf1f2c35eff4706ea69299f731f2a1953e.tar.gz kernel-867aaccf1f2c35eff4706ea69299f731f2a1953e.zip | |
proc: remove unused argument in proc_pid_lookup()
[[email protected]: delete "extern" from prototype]
Link: http://lkml.kernel.org/r/20190114195635.GA9372@avx2
Signed-off-by: Zhikang Zhang <[email protected]>
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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, 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); |
