Commit 8522851e authored by Paul McQuade's avatar Paul McQuade Committed by Greg Kroah-Hartman

Staging:Octeon-usb:octeon-hcd.c return value

return value instead of function.
Signed-off-by: default avatarPaul McQuade <paulmcquad@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4a6eea4d
...@@ -3483,7 +3483,7 @@ static int octeon_usb_hub_status_data(struct usb_hcd *hcd, char *buf) ...@@ -3483,7 +3483,7 @@ static int octeon_usb_hub_status_data(struct usb_hcd *hcd, char *buf)
buf[0] = 0; buf[0] = 0;
buf[0] = port_status.connect_change << 1; buf[0] = port_status.connect_change << 1;
return (buf[0] != 0); return buf[0] != 0;
} }
static int octeon_usb_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) static int octeon_usb_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment