Skip to contentSkip to conversation

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

PATCH New Paul McQuade 1 participant 1 message Apr 8, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging:Octeon-usb:octeon-hcd.c return value

return value instead of function.

---
 drivers/staging/octeon-usb/octeon-hcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/octeon-usb/octeon-hcd.c +1 -1
index 8b8ce72..2d15001 100644
@@ -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)
Signature · 1 line
1.8.3.2