diff options
author | Jiri Kosina <jkosina@suse.cz> | 2015-03-10 05:45:30 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-03-10 05:45:30 -0400 |
commit | 0e4f93e5017d9d8080bbd34db17836e090eb46fe (patch) | |
tree | 8b772a46bd401e02d77d2e9d1f67561e7db3306f | |
parent | c1f4775ab57605a5e2003cd96034145d791abf62 (diff) |
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 2a2483685a9de ("goldfish: remove unreachable line
of code"). Remove the last reference to the variable as well.
Fixes: 2a2483685a9de ("goldfish: remove unreachable line of code")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/tty/goldfish.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/goldfish.c b/drivers/tty/goldfish.c index e423550c3516..d6e332cba3ea 100644 --- a/drivers/tty/goldfish.c +++ b/drivers/tty/goldfish.c | |||
@@ -229,7 +229,6 @@ static int goldfish_tty_probe(struct platform_device *pdev) | |||
229 | { | 229 | { |
230 | struct goldfish_tty *qtty; | 230 | struct goldfish_tty *qtty; |
231 | int ret = -EINVAL; | 231 | int ret = -EINVAL; |
232 | int i; | ||
233 | struct resource *r; | 232 | struct resource *r; |
234 | struct device *ttydev; | 233 | struct device *ttydev; |
235 | void __iomem *base; | 234 | void __iomem *base; |