mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
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: Walt Feasel <waltfeasel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
89eda1faee
commit
b6576797f6
1 changed files with 1 additions and 2 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue