Commit af4085dd authored by Dan Carpenter's avatar Dan Carpenter Committed by Corey Minyard

ipmi_si: remove an unused variable in try_smi_init()

The "init_name" variable isn't used any more after commit 90b2d4f1
("ipmi_si: Remove hacks for adding a dummy platform devices").
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Message-Id: <20190322065426.GB12551@kadam>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 794a3b6b
......@@ -1931,7 +1931,6 @@ static int try_smi_init(struct smi_info *new_smi)
{
int rv = 0;
int i;
char *init_name = NULL;
pr_info("Trying %s-specified %s state machine at %s address 0x%lx, slave address 0x%x, irq %d\n",
ipmi_addr_src_to_str(new_smi->io.addr_source),
......@@ -2073,7 +2072,6 @@ static int try_smi_init(struct smi_info *new_smi)
new_smi->io.io_cleanup = NULL;
}
kfree(init_name);
return rv;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment