From d0452fe09a90d4aff5029d3c053014ae2caeec94 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Mon, 28 Sep 2015 17:57:59 +0100 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/fotg210-hcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c index 287d5954002d..dea513ebf7f9 100644 --- a/drivers/usb/host/fotg210-hcd.c +++ b/drivers/usb/host/fotg210-hcd.c @@ -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; -- 2.20.1