From: Paul McQuade Date: Tue, 8 Apr 2014 15:32:48 +0000 (+0100) Subject: Staging:Octeon-usb:octeon-hcd.c return value X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8522851e3bc1b2198ec0e7eb48694ae326dc6840;p=linux-beck.git Staging:Octeon-usb:octeon-hcd.c return value return value instead of function. Signed-off-by: Paul McQuade Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index 8b8ce7293c52..2d15001b3061 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)