提交 0e4f93e5 编写于 作者: J Jiri Kosina

goldfish: goldfish_tty_probe() is not using 'i' any more

The only place where 'i' has been used was a dead code that
got removed by 2a248368 ("goldfish: remove unreachable line
of code"). Remove the last reference to the variable as well.

Fixes: 2a248368 ("goldfish: remove unreachable line of code")
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 c1f4775a
...@@ -229,7 +229,6 @@ static int goldfish_tty_probe(struct platform_device *pdev) ...@@ -229,7 +229,6 @@ static int goldfish_tty_probe(struct platform_device *pdev)
{ {
struct goldfish_tty *qtty; struct goldfish_tty *qtty;
int ret = -EINVAL; int ret = -EINVAL;
int i;
struct resource *r; struct resource *r;
struct device *ttydev; struct device *ttydev;
void __iomem *base; void __iomem *base;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册