Skip to content

Commit

Permalink
usbip: stub_rx: tidy the indenting in is_clear_halt_cmd()
Browse files Browse the repository at this point in the history
There is an extra space character before the return statement.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Apr 25, 2019
1 parent d30e413 commit 409fba2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/usb/usbip/stub_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 409fba2

Please sign in to comment.