aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_si_intf.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-04-29 04:01:13 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:15 -0400
commitfa68be0def375c78f723a7d49221f8f6c8194f29 (patch)
treebc45bfbd81c060425f1462f107128b4040694d69 /drivers/char/ipmi/ipmi_si_intf.c
parent95c0ba892470a8f95b3dd3938a722ff64229aed1 (diff)
ipmi: remove ->write_proc code
IPMI code theoretically allows ->write_proc users, but nobody uses this thus far. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Corey Minyard <minyard@acm.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_intf.c')
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 97b6225c070b..5a5455585c1d 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2892,7 +2892,7 @@ static int try_smi_init(struct smi_info *new_smi)
2892 } 2892 }
2893 2893
2894 rv = ipmi_smi_add_proc_entry(new_smi->intf, "type", 2894 rv = ipmi_smi_add_proc_entry(new_smi->intf, "type",
2895 type_file_read_proc, NULL, 2895 type_file_read_proc,
2896 new_smi, THIS_MODULE); 2896 new_smi, THIS_MODULE);
2897 if (rv) { 2897 if (rv) {
2898 printk(KERN_ERR 2898 printk(KERN_ERR
@@ -2902,7 +2902,7 @@ static int try_smi_init(struct smi_info *new_smi)
2902 } 2902 }
2903 2903
2904 rv = ipmi_smi_add_proc_entry(new_smi->intf, "si_stats", 2904 rv = ipmi_smi_add_proc_entry(new_smi->intf, "si_stats",
2905 stat_file_read_proc, NULL, 2905 stat_file_read_proc,
2906 new_smi, THIS_MODULE); 2906 new_smi, THIS_MODULE);
2907 if (rv) { 2907 if (rv) {
2908 printk(KERN_ERR 2908 printk(KERN_ERR
@@ -2912,7 +2912,7 @@ static int try_smi_init(struct smi_info *new_smi)
2912 } 2912 }
2913 2913
2914 rv = ipmi_smi_add_proc_entry(new_smi->intf, "params", 2914 rv = ipmi_smi_add_proc_entry(new_smi->intf, "params",
2915 param_read_proc, NULL, 2915 param_read_proc,
2916 new_smi, THIS_MODULE); 2916 new_smi, THIS_MODULE);
2917 if (rv) { 2917 if (rv) {
2918 printk(KERN_ERR 2918 printk(KERN_ERR