Skip to content

Commit 2a24836

Browse files
AlanJiri Kosina
authored andcommitted
goldfish: remove unreachable line of code
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent d38712a commit 2a24836

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
@@ -293,7 +293,6 @@ static int goldfish_tty_probe(struct platform_device *pdev)
293293
mutex_unlock(&goldfish_tty_lock);
294294
return 0;
295295

296-
tty_unregister_device(goldfish_tty_driver, i);
297296
err_tty_register_device_failed:
298297
free_irq(irq, pdev);
299298
err_request_irq_failed:

0 commit comments

Comments
 (0)