usbip: stub_rx: tidy the indenting in is_clear_halt_cmd()
Subsystems (3)
PATCH 1/1 usbip: stub_rx: tidy the indenting in is_clear_halt_cmd()
There is an extra space character before the return statement.
Signed-off-by Dan Carpenter <[email protected]>
drivers/usb/usbip/stub_rx.c +3 -3
@@ -17,9 +17,9 @@ static int is_clear_halt_cmd(struct urb *urb) req = (struct usb_ctrlrequest *) urb->setup_packet; -return (req->bRequest =USB_REQ_CLEAR_FEATURE ) && - (req->bRequestType =USB_RECIP_ENDPOINT ) && - (req->wValue =USB_ENDPOINT_HALT ); +return (req->bRequest =USB_REQ_CLEAR_FEATURE ) && + (req->bRequestType =USB_RECIP_ENDPOINT ) && + (req->wValue =USB_ENDPOINT_HALT ); }static int is_set_interface_cmd (struct urb *urb)
Quoted 12 lines · Dan Carpenter
There is an extra space character before the return statement.
Signed-off-by Dan Carpenter <[email protected]>drivers/usb/usbip/stub_rx.c +0
-0@@ -17,9 +17,9 @@ static int is_clear_halt_cmd(struct urb *urb) req = (struct usb_ctrlrequest *) urb->setup_packet;
drivers/usb/usbip/stub_rx.c static int is_clear_halt_cmd(struct urb *urb) · line 25
Quoted 10 lines
drivers/usb/usbip/stub_rx.c +3
-3-return (req->bRequest =USB_REQ_CLEAR_FEATURE ) && - (req->bRequestType =USB_RECIP_ENDPOINT ) && - (req->wValue =USB_ENDPOINT_HALT ); +return (req->bRequest =USB_REQ_CLEAR_FEATURE ) && + (req->bRequestType =USB_RECIP_ENDPOINT ) && + (req->wValue =USB_ENDPOINT_HALT ); }static int is_set_interface_cmd (struct urb *urb)
Thanks for the patch.
Acked-by Shuah Khan <[email protected]>
thanks,
-- Shuah