Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: gadget: udc: missing curly braces

There were curly braces intended here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Dan Carpenter and committed by
Greg Kroah-Hartman
01604026 6aeab477

+2 -1
+2 -1
drivers/usb/gadget/udc/bdc/bdc_ep.c
··· 457 457 dword3 |= BD_SOT|BD_SBF|(tfs<<BD_TFS_SHIFT); 458 458 dword2 |= BD_LTF; 459 459 /* format of first bd for ep0 is different than other */ 460 - if (ep->ep_num == 1) 460 + if (ep->ep_num == 1) { 461 461 ret = setup_first_bd_ep0(bdc, req, &dword3); 462 462 if (ret) 463 463 return ret; 464 + } 464 465 } 465 466 if (!req->ep->dir) 466 467 dword3 |= BD_ISP;