From: Peter Senna Tschudin Date: Mon, 12 Oct 2015 21:22:34 +0000 (+0200) Subject: usb/host/fotg210: Remove useless else statement X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f238b4e2b39e94dc9770243c472a80fa41190db0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git usb/host/fotg210: Remove useless else statement This patch remove an else statement after a return to make the code easier to understand. Signed-off-by: Peter Senna Tschudin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c index 2a5fbc439f31..ceb696f10710 100644 --- a/drivers/usb/host/fotg210-hcd.c +++ b/drivers/usb/host/fotg210-hcd.c @@ -1402,10 +1402,9 @@ static int check_reset_complete(struct fotg210_hcd *fotg210, int index, "Failed to enable port %d on root hub TT\n", index + 1); return port_status; - } else { - fotg210_dbg(fotg210, "port %d reset complete, port enabled\n", - index + 1); } + fotg210_dbg(fotg210, "port %d reset complete, port enabled\n", + index + 1); return port_status; }