Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0452fe0 authored by Luis de Bethencourt's avatar Luis de Bethencourt Committed by Greg Kroah-Hartman
Browse files

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: default avatarLuis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e2f39511
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;