summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/ipmi_si_intf.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2014-10-11 07:11:05 +0400
committerCorey Minyard <cminyard@mvista.com>2014-12-12 00:04:05 +0300
commit5a0e10ec4a82ec9e1ab9b85a0f2c2893f7ffda25 (patch)
treeb4846f66af4bd76d91ecda78b0f8cb6c4edc303d /drivers/char/ipmi/ipmi_si_intf.c
parent16639eb08a6947bef8f4d78e22b6010ba4c3cb90 (diff)
downloadlinux-5a0e10ec4a82ec9e1ab9b85a0f2c2893f7ffda25.tar.xz
ipmi: Remove useless sysfs_name parameters
It was always "bmc", so just hardcode it. It makes no sense to pass that in. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_intf.c')
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 337182b5c51a..f474ad8a7b8e 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -3429,7 +3429,6 @@ static int try_smi_init(struct smi_info *new_smi)
new_smi,
&new_smi->device_id,
new_smi->dev,
- "bmc",
new_smi->slave_addr);
if (rv) {
dev_err(new_smi->dev, "Unable to register device: error %d\n",