summaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2010-02-11 18:34:06 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2010-02-11 18:34:06 +0000
commit7733cf8fffadd4b286f7ed03e7748ee70e36433d (patch)
tree1e4ba746fa5c966751e486d77fd709debce07fc4 /sys/mips
parent1d0daf9e447a792a8e43377426858a02b734b9a3 (diff)
Notes
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/adm5120/if_admsw.c2
-rw-r--r--sys/mips/mips/elf_machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/adm5120/if_admsw.c b/sys/mips/adm5120/if_admsw.c
index fff8930c2c52..623e92d1d80f 100644
--- a/sys/mips/adm5120/if_admsw.c
+++ b/sys/mips/adm5120/if_admsw.c
@@ -527,7 +527,7 @@ admsw_attach(device_t dev)
ifmedia_add(&sc->sc_ifmedia[i], IFM_ETHER|IFM_AUTO, 0, NULL);
ifmedia_set(&sc->sc_ifmedia[i], IFM_ETHER|IFM_AUTO);
- ifp = sc->sc_ifnet[i] = if_alloc(IFT_ETHER);;
+ ifp = sc->sc_ifnet[i] = if_alloc(IFT_ETHER);
/* Setup interface parameters */
ifp->if_softc = sc;
diff --git a/sys/mips/mips/elf_machdep.c b/sys/mips/mips/elf_machdep.c
index d276b8f7eb0c..f9b363f4da73 100644
--- a/sys/mips/mips/elf_machdep.c
+++ b/sys/mips/mips/elf_machdep.c
@@ -105,7 +105,7 @@ static int
elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data,
int type, int local, elf_lookup_fn lookup)
{
- Elf_Addr *where = (Elf_Addr *)NULL;;
+ Elf_Addr *where = (Elf_Addr *)NULL;
Elf_Addr addr;
Elf_Addr addend = (Elf_Addr)0;
Elf_Word rtype = (Elf_Word)0, symidx;