Skip to content

Commit

Permalink
goldfish: goldfish_tty_probe() is not using 'i' any more
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Kosina committed Mar 10, 2015
1 parent c1f4775 commit 0e4f93e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/tty/goldfish.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ static int goldfish_tty_probe(struct platform_device *pdev)
{
struct goldfish_tty *qtty;
int ret = -EINVAL;
int i;
struct resource *r;
struct device *ttydev;
void __iomem *base;
Expand Down

0 comments on commit 0e4f93e

Please sign in to comment.