diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2006-12-06 23:41:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:48 -0500 |
commit | 1aa16eeacd6f10c202da1cf0cff5c81107dac942 (patch) | |
tree | aa4f0c1b1137bc36e7bdb49687b8a1887f8715d9 /drivers/char/ipmi/ipmi_poweroff.c | |
parent | 5a1099baa86c17c521859f417c4c1353d0ae9096 (diff) |
[PATCH] IPMI: fix PROC_FS=n warnings
Fix build warnings for PROC_FS=n.
drivers/char/ipmi/ipmi_poweroff.c:707: warning: label 'out_err' defined but not used
drivers/char/ipmi/ipmi_msghandler.c:1774: warning: 'ipmb_file_read_proc' defined but not used
drivers/char/ipmi/ipmi_msghandler.c:1790: warning: 'version_file_read_proc' defined but not used
drivers/char/ipmi/ipmi_msghandler.c:1801: warning: 'stat_file_read_proc' defined but not used
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/ipmi/ipmi_poweroff.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_poweroff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_poweroff.c b/drivers/char/ipmi/ipmi_poweroff.c index 8ce447ab6de5..597eb4f88b84 100644 --- a/drivers/char/ipmi/ipmi_poweroff.c +++ b/drivers/char/ipmi/ipmi_poweroff.c | |||
@@ -702,9 +702,9 @@ static int ipmi_poweroff_init (void) | |||
702 | printk(KERN_ERR PFX "Unable to register SMI watcher: %d\n", rv); | 702 | printk(KERN_ERR PFX "Unable to register SMI watcher: %d\n", rv); |
703 | goto out_err; | 703 | goto out_err; |
704 | } | 704 | } |
705 | #endif | ||
706 | 705 | ||
707 | out_err: | 706 | out_err: |
707 | #endif | ||
708 | return rv; | 708 | return rv; |
709 | } | 709 | } |
710 | 710 | ||