diff options
author | Alan <gnomes@lxorguk.ukuu.org.uk> | 2015-02-19 16:11:13 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-03-06 17:11:32 -0500 |
commit | 2a2483685a9decd0af60f1dc9e49f46f9e65891b (patch) | |
tree | e0a309ddb089835e2d78e6af0db17d18f1f86bed /drivers/tty/goldfish.c | |
parent | d38712a7e2773ed4bc4f694cfa7bcbee4f804675 (diff) |
goldfish: remove unreachable line of code
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/tty/goldfish.c')
-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 09495f515fa9..e423550c3516 100644 --- a/drivers/tty/goldfish.c +++ b/drivers/tty/goldfish.c | |||
@@ -293,7 +293,6 @@ static int goldfish_tty_probe(struct platform_device *pdev) | |||
293 | mutex_unlock(&goldfish_tty_lock); | 293 | mutex_unlock(&goldfish_tty_lock); |
294 | return 0; | 294 | return 0; |
295 | 295 | ||
296 | tty_unregister_device(goldfish_tty_driver, i); | ||
297 | err_tty_register_device_failed: | 296 | err_tty_register_device_failed: |
298 | free_irq(irq, pdev); | 297 | free_irq(irq, pdev); |
299 | err_request_irq_failed: | 298 | err_request_irq_failed: |