projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] proc: remove useless (and buggy) ->nlink settings
[powerpc.git]
/
arch
/
powerpc
/
kernel
/
rtas_flash.c
diff --git
a/arch/powerpc/kernel/rtas_flash.c
b/arch/powerpc/kernel/rtas_flash.c
index
0c4fcd3
..
65e4ebe
100644
(file)
--- a/
arch/powerpc/kernel/rtas_flash.c
+++ b/
arch/powerpc/kernel/rtas_flash.c
@@
-708,7
+708,6
@@
static struct proc_dir_entry *create_flash_pde(const char *filename,
ent = create_proc_entry(filename, S_IRUSR | S_IWUSR, NULL);
if (ent != NULL) {
- ent->nlink = 1;
ent->proc_fops = fops;
ent->owner = THIS_MODULE;
}