Commit 38269d2f authored by Chunfeng Yun's avatar Chunfeng Yun Committed by Greg Kroah-Hartman
Browse files

usb: xhci-mtk: remove unnecessary error check

parent 6352f24b
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -437,11 +437,8 @@ static int xhci_mtk_setup(struct usb_hcd *hcd)
	if (ret)
		return ret;

	if (usb_hcd_is_primary_hcd(hcd)) {
	if (usb_hcd_is_primary_hcd(hcd))
		ret = xhci_mtk_sch_init(mtk);
		if (ret)
			return ret;
	}

	return ret;
}