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:
parent
e2f3951110
commit
d0452fe09a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue