提交 f238b4e2 编写于 作者: P Peter Senna Tschudin 提交者: Greg Kroah-Hartman

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: NPeter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5ec9b891
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册