projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
proc: kill the extra proc_readfd_common()->dir_emit_dots()
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
proc
/
fd.c
diff --git
a/fs/proc/fd.c
b/fs/proc/fd.c
index
75f2890
..
0ff80f9
100644
(file)
--- a/
fs/proc/fd.c
+++ b/
fs/proc/fd.c
@@
-230,8
+230,6
@@
static int proc_readfd_common(struct file *file, struct dir_context *ctx,
if (!dir_emit_dots(file, ctx))
goto out;
- if (!dir_emit_dots(file, ctx))
- goto out;
files = get_files_struct(p);
if (!files)
goto out;