Remove pointless semicolons after label

This commit is contained in:
Kevin Lo 2011-09-30 04:55:23 +00:00
parent 324d7156d7
commit d11bbab85d
8 changed files with 10 additions and 10 deletions

View File

@ -243,7 +243,7 @@ at91_mci_attach(device_t dev)
child = device_add_child(dev, "mmc", 0);
device_set_ivars(dev, &sc->host);
err = bus_generic_attach(dev);
out:;
out:
if (err)
at91_mci_deactivate(dev);
return (err);

View File

@ -162,7 +162,7 @@ at91_pio_attach(device_t dev)
goto out;
}
sc->cdev->si_drv1 = sc;
out:;
out:
if (err)
at91_pio_deactivate(dev);
return (err);

View File

@ -118,7 +118,7 @@ at91_rtc_attach(device_t dev)
goto out;
}
clock_register(dev, 1000000);
out:;
out:
if (err)
at91_rtc_deactivate(dev);
return (err);

View File

@ -134,7 +134,7 @@ at91_spi_attach(device_t dev)
device_add_child(dev, "spibus", -1);
bus_generic_attach(dev);
out:;
out:
if (err)
at91_spi_deactivate(dev);
return (err);
@ -259,7 +259,7 @@ at91_spi_transfer(device_t dev, device_t child, struct spi_command *cmd)
for (j = 0; j < i; j++)
bus_dmamap_unload(sc->dmatag, sc->map[j]);
return (err);
out:;
out:
for (j = 0; j < i; j++)
bus_dmamap_unload(sc->dmatag, sc->map[j]);
return (EIO);

View File

@ -150,7 +150,7 @@ at91_ssc_attach(device_t dev)
WR4(sc, SSC_TFMR,
0x1f | SSC_TFMR_DATDEF | SSC_TFMR_MSFBF | SSC_TFMR_FSOS_NEG_PULSE);
out:;
out:
if (err)
at91_ssc_deactivate(dev);
return (err);

View File

@ -139,7 +139,7 @@ at91_twi_attach(device_t dev)
device_printf(dev, "could not allocate iicbus instance\n");
/* probe and attach the iicbus */
bus_generic_attach(dev);
out:;
out:
if (err)
at91_twi_deactivate(dev);
return (err);
@ -365,7 +365,7 @@ at91_twi_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs)
if ((err = at91_twi_wait(sc, TWI_SR_TXCOMP)))
break;
}
out:;
out:
if (err) {
WR4(sc, TWI_CR, TWI_CR_SWRST);
WR4(sc, TWI_CR, TWI_CR_MSEN | TWI_CR_SVDIS);

View File

@ -406,7 +406,7 @@ at91_usart_bus_attach(struct uart_softc *sc)
WR4(&sc->sc_bas, USART_IER, USART_CSR_RXRDY);
}
WR4(&sc->sc_bas, USART_IER, USART_CSR_RXBRK);
errout:;
errout:
// XXX bad
return (err);
}

View File

@ -441,7 +441,7 @@ ece_attach(device_t dev)
taskqueue_start_threads(&sc->sc_tq, 1, PI_NET, "%s taskq",
device_get_nameunit(sc->dev));
out:;
out:
if (err)
ece_deactivate(dev);
if (err && ifp)