Staging:Octeon-usb:octeon-hcd.c return value
authorPaul McQuade <paulmcquad@gmail.com>
Tue, 8 Apr 2014 15:32:48 +0000 (16:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:36:16 +0000 (16:36 +0900)
return value instead of function.

Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/octeon-hcd.c

index 8b8ce7293c521eb0492afd2ce7d29c254699d19e..2d15001b3061baca3a4037459d044d193b385457 100644 (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)