Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e4f93e5 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent c1f4775a
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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;