Skip to content

Commit 0e4f93e

Browse files
author
Jiri Kosina
committed
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 2a24836 ("goldfish: remove unreachable line of code"). Remove the last reference to the variable as well. Fixes: 2a24836 ("goldfish: remove unreachable line of code") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent c1f4775 commit 0e4f93e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/tty/goldfish.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ static int goldfish_tty_probe(struct platform_device *pdev)
229229
{
230230
struct goldfish_tty *qtty;
231231
int ret = -EINVAL;
232-
int i;
233232
struct resource *r;
234233
struct device *ttydev;
235234
void __iomem *base;

0 commit comments

Comments
 (0)