1
0
Fork 0

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: Stefan Reif <ke42caxa@cip.cs.fau.de>
Signed-off-by: Kurt Kanzenbach <ly80toro@cip.cs.fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Stefan Reif 2013-02-22 12:13:32 +01:00 committed by Greg Kroah-Hartman
parent ba0edc23df
commit c46cb54db3
1 changed files with 2 additions and 3 deletions

View File

@ -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;