[PATCH 07/17] usb: vhci-hcd: Drop unnecessary parentheses

Cristian Ciocaltea posted 17 patches 1 month ago
[PATCH 07/17] usb: vhci-hcd: Drop unnecessary parentheses
Posted by Cristian Ciocaltea 1 month ago
Fix a checkpatch complaint:

  CHECK: Unnecessary parentheses around

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
---
 drivers/usb/usbip/vhci_hcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c
index 1b442bc564ed26185d172daa32cabd1a3f50f322..4ddf7972490d115620f180aa7d4c9bf09e2aaae7 100644
--- a/drivers/usb/usbip/vhci_hcd.c
+++ b/drivers/usb/usbip/vhci_hcd.c
@@ -255,7 +255,7 @@ static int vhci_hub_status(struct usb_hcd *hcd, char *buf)
 		}
 	}
 
-	if ((hcd->state == HC_STATE_SUSPENDED) && (changed == 1))
+	if (hcd->state == HC_STATE_SUSPENDED && changed == 1)
 		usb_hcd_resume_root_hub(hcd);
 
 done:

-- 
2.51.0