usb: host: fotg210: remove unreachable code

Before running the platform_driver_unregister() the code will either return
retval or jump to clean. Removing this line that is unreachable.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Luis de Bethencourt 2015-09-28 17:57:59 +01:00 committed by Greg Kroah-Hartman
parent e2f3951110
commit d0452fe09a
1 changed files with 0 additions and 1 deletions

View File

@ -5928,7 +5928,6 @@ static int __init fotg210_hcd_init(void)
goto clean;
return retval;
platform_driver_unregister(&fotg210_hcd_driver);
clean:
debugfs_remove(fotg210_debug_root);
fotg210_debug_root = NULL;