1
0
Fork 0

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

return value instead of function.

Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Paul McQuade 2014-04-08 16:32:48 +01:00 committed by Greg Kroah-Hartman
parent 4a6eea4dcb
commit 8522851e3b
1 changed files with 1 additions and 1 deletions

View File

@ -3483,7 +3483,7 @@ static int octeon_usb_hub_status_data(struct usb_hcd *hcd, char *buf)
buf[0] = 0;
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)