Remove extra semicolons.

This commit is contained in:
Kevin Lo 2014-06-06 16:37:42 +00:00
parent 0dc809c034
commit 6ed1354934
3 changed files with 5 additions and 5 deletions

View File

@ -332,19 +332,19 @@ set_mac_from_idprom(void)
DEVOFFSET_BSO_SIGNATURE + sizeof(sig),
&dev_offset, sizeof(dev_offset));
if (status == -1)
return -1;;
return -1;
/* Check for the boot section signature. */
status = eeprom_read(EE_DEV_ADDR,
dev_offset + OFFSET_BS_SIGNATURE, &sig, sizeof(sig));
if ((status == -1) || (sig != BS_SIGNATURE))
return -1;;
return -1;
}
dev_offset += OFFSET_EUI64;
/* Read the EUI64 from the device. */
if (eeprom_read(EE_DEV_ADDR, dev_offset, eui64, sizeof(eui64)) == -1)
return -1;;
return -1;
/* Transcribe the EUI-64 to a MAC-48.
*

View File

@ -153,7 +153,7 @@ static struct ofw_compat_data compat_data[] = {
{"fsl,imx53-esdhc", HWTYPE_ESDHC},
{"fsl,imx51-esdhc", HWTYPE_ESDHC},
{NULL, HWTYPE_NONE},
};;
};
static void imx_sdhc_set_clock(struct imx_sdhci_softc *sc, int enable);
static void imx_sdhci_r1bfix_func(void *arg);

View File

@ -223,7 +223,7 @@ am335x_lcd_sysctl_backlight(SYSCTL_HANDLER_ARGS)
int error;
int backlight;
backlight = sc->sc_backlight;;
backlight = sc->sc_backlight;
error = sysctl_handle_int(oidp, &backlight, 0, req);
if (error != 0 || req->newptr == NULL)