forked from Minki/linux
goldfish: remove unreachable line of code
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
d38712a7e2
commit
2a2483685a
@ -293,7 +293,6 @@ static int goldfish_tty_probe(struct platform_device *pdev)
|
||||
mutex_unlock(&goldfish_tty_lock);
|
||||
return 0;
|
||||
|
||||
tty_unregister_device(goldfish_tty_driver, i);
|
||||
err_tty_register_device_failed:
|
||||
free_irq(irq, pdev);
|
||||
err_request_irq_failed:
|
||||
|
Loading…
Reference in New Issue
Block a user