diff options
Diffstat (limited to 'drivers/ide/ide-proc.c')
-rw-r--r-- | drivers/ide/ide-proc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index aa049dab3d95..ad49bd823ebd 100644 --- a/drivers/ide/ide-proc.c +++ b/drivers/ide/ide-proc.c | |||
@@ -413,7 +413,6 @@ void ide_add_proc_entries(struct proc_dir_entry *dir, ide_proc_entry_t *p, void | |||
413 | while (p->name != NULL) { | 413 | while (p->name != NULL) { |
414 | ent = create_proc_entry(p->name, p->mode, dir); | 414 | ent = create_proc_entry(p->name, p->mode, dir); |
415 | if (!ent) return; | 415 | if (!ent) return; |
416 | ent->nlink = 1; | ||
417 | ent->data = data; | 416 | ent->data = data; |
418 | ent->read_proc = p->read_proc; | 417 | ent->read_proc = p->read_proc; |
419 | ent->write_proc = p->write_proc; | 418 | ent->write_proc = p->write_proc; |