aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon-usb
diff options
context:
space:
mode:
authorPaul McQuade <paulmcquad@gmail.com>2014-04-08 15:32:48 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-23 07:36:16 (GMT)
commit8522851e3bc1b2198ec0e7eb48694ae326dc6840 (patch)
tree3b418a6af3f4670df213c53a1757884bbfd1213d /drivers/staging/octeon-usb
parent4a6eea4dcbc0328c3126fed264c42b0725bea659 (diff)
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>
Diffstat (limited to 'drivers/staging/octeon-usb')
-rw-r--r--drivers/staging/octeon-usb/octeon-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index 8b8ce72..2d15001 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -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)

Privacy Policy