forked from Minki/linux
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 by2a2483685a
("goldfish: remove unreachable line of code"). Remove the last reference to the variable as well. Fixes:2a2483685a
("goldfish: remove unreachable line of code") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
c1f4775ab5
commit
0e4f93e501
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user