From 6a658e0a737b2c68a8a62b962338a1c59fb12dd6 Mon Sep 17 00:00:00 2001 From: Visa Hankala Date: Wed, 23 Dec 2015 12:38:41 +0000 Subject: Drop unused goto label. --- sys/dev/usb/dwc2/dwc2.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/dev/usb') diff --git a/sys/dev/usb/dwc2/dwc2.c b/sys/dev/usb/dwc2/dwc2.c index fc5dbbbe3f7..354e713ed82 100644 --- a/sys/dev/usb/dwc2/dwc2.c +++ b/sys/dev/usb/dwc2/dwc2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2.c,v 1.35 2015/12/18 17:23:14 mmcc Exp $ */ +/* $OpenBSD: dwc2.c,v 1.36 2015/12/23 12:38:40 visa Exp $ */ /* $NetBSD: dwc2.c,v 1.32 2014/09/02 23:26:20 macallan Exp $ */ /*- @@ -1583,14 +1583,13 @@ dwc2_init(struct dwc2_softc *sc) err = dwc2_hcd_init(sc->sc_hsotg, sc->sc_params); if (err) { err = -err; - goto fail2; + goto fail; } return 0; -fail2: +fail: free(sc->sc_hsotg, M_DEVBUF, sizeof(struct dwc2_hsotg)); -fail1: softintr_disestablish(sc->sc_rhc_si); return err; -- cgit v1.2.3