提交 d0452fe0 编写于 作者: L Luis de Bethencourt 提交者: Greg Kroah-Hartman

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: NLuis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 e2f39511
...@@ -5928,7 +5928,6 @@ static int __init fotg210_hcd_init(void) ...@@ -5928,7 +5928,6 @@ static int __init fotg210_hcd_init(void)
goto clean; goto clean;
return retval; return retval;
platform_driver_unregister(&fotg210_hcd_driver);
clean: clean:
debugfs_remove(fotg210_debug_root); debugfs_remove(fotg210_debug_root);
fotg210_debug_root = NULL; fotg210_debug_root = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册