Commit bf8c5541 authored by Jing Xiangfeng's avatar Jing Xiangfeng Committed by David S. Miller

sbus: char: Remove meaningless jump label out_free

After commit 57a4a3d7 ("display7seg: Introduce the use of the managed
version of kzalloc"), The out_free jump label has nothing to do but goto
out. So remove it.
Signed-off-by: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b6b9b67d
......@@ -186,7 +186,7 @@ static int d7s_probe(struct platform_device *op)
p->regs = of_ioremap(&op->resource[0], 0, sizeof(u8), "d7s");
if (!p->regs) {
printk(KERN_ERR PFX "Cannot map chip registers\n");
goto out_free;
goto out;
}
err = misc_register(&d7s_miscdev);
......@@ -228,8 +228,6 @@ static int d7s_probe(struct platform_device *op)
out_iounmap:
of_iounmap(&op->resource[0], p->regs, sizeof(u8));
out_free:
goto out;
}
......
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