diff options
Diffstat (limited to 'drivers/char/ipmi/ipmi_msghandler.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index 230064ede08d..3aff5e99b674 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c | |||
@@ -1887,7 +1887,6 @@ int ipmi_smi_add_proc_entry(ipmi_smi_t smi, char *name, | |||
1887 | kfree(entry); | 1887 | kfree(entry); |
1888 | rv = -ENOMEM; | 1888 | rv = -ENOMEM; |
1889 | } else { | 1889 | } else { |
1890 | file->nlink = 1; | ||
1891 | file->data = data; | 1890 | file->data = data; |
1892 | file->read_proc = read_proc; | 1891 | file->read_proc = read_proc; |
1893 | file->write_proc = write_proc; | 1892 | file->write_proc = write_proc; |