提交 b6576797 编写于 作者: W Walt Feasel 提交者: Greg Kroah-Hartman

staging: emxx_udc: emxx_udc.c {} Single statement blocks

Make suggested checkpatch modification for
WARNING: braces {} are not necessary for single
statement blocks
Signed-off-by: NWalt Feasel <waltfeasel@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 89eda1fa
......@@ -1575,9 +1575,8 @@ static int std_req_get_status(struct nbu2ss_udc *udc)
u8 ep_adrs;
int result = -EINVAL;
if ((udc->ctrl.wValue != 0x0000) || (direction != USB_DIR_IN)) {
if ((udc->ctrl.wValue != 0x0000) || (direction != USB_DIR_IN))
return result;
}
length = min_t(u16, udc->ctrl.wLength, sizeof(status_data));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册