Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c46cb54d authored by Stefan Reif's avatar Stefan Reif Committed by Greg Kroah-Hartman
Browse files

staging: usbip: remove unnecessary braces



This patch fixes the following checkpatch warning:
-WARNING: braces {} are not necessary for any arm of this statement

Signed-off-by: default avatarStefan Reif <ke42caxa@cip.cs.fau.de>
Signed-off-by: default avatarKurt Kanzenbach <ly80toro@cip.cs.fau.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ba0edc23
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -956,11 +956,10 @@ static int vhci_bus_resume(struct usb_hcd *hcd)
	dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__);

	spin_lock(&vhci->lock);
	if (!HCD_HW_ACCESSIBLE(hcd)) {
	if (!HCD_HW_ACCESSIBLE(hcd))
		rc = -ESHUTDOWN;
	} else {
	else
		hcd->state = HC_STATE_RUNNING;
	}
	spin_unlock(&vhci->lock);

	return rc;