Skip to content
Commit a7f0f92a authored by Jing Xiangfeng's avatar Jing Xiangfeng Committed by Corey Minyard
Browse files

ipmi: remve duplicate code in __ipmi_bmc_register()



__ipmi_bmc_register() jumps to the label 'out_free_my_dev_name' in an
error path. So we can remove duplicate code in the if (rv).

Signed-off-by: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Message-Id: <20200720080838.148737-1-jingxiangfeng@huawei.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 29a54910
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment