summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-03-31 13:00:28 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-03-31 13:00:28 +0000
commit6d406bf9453e0f12e45a0a52aac6efe37a3f8ad9 (patch)
tree25783d99a39a9d00bf3ee36b4002067ffe0c61b6
parent77ede6a238d6acb151c85cba70d220f0372d8086 (diff)
Remove leftover that should have been removed in the previous commit.
-rw-r--r--sys/arch/armv7/omap/if_cpsw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/armv7/omap/if_cpsw.c b/sys/arch/armv7/omap/if_cpsw.c
index ea361cbb91b..8064c4209bb 100644
--- a/sys/arch/armv7/omap/if_cpsw.c
+++ b/sys/arch/armv7/omap/if_cpsw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cpsw.c,v 1.45 2020/03/31 11:54:07 kettenis Exp $ */
+/* $OpenBSD: if_cpsw.c,v 1.46 2020/03/31 13:00:27 kettenis Exp $ */
/* $NetBSD: if_cpsw.c,v 1.3 2013/04/17 14:36:34 bouyer Exp $ */
/*
@@ -402,8 +402,6 @@ cpsw_attach(struct device *parent, struct device *self, void *aux)
descs = bus_space_vaddr(sc->sc_bst, sc->sc_bsh_txdescs);
pmap_extract(pmap_kernel(), (vaddr_t)descs, &sc->sc_txdescs_pa);
- sc->sc_rxdescs_pa = faa->fa_reg[0].addr +
- CPSW_CPPI_RAM_RXDESCS_BASE;
error = bus_space_subregion(sc->sc_bst, sc->sc_bsh,
CPSW_CPPI_RAM_RXDESCS_BASE, CPSW_CPPI_RAM_RXDESCS_SIZE,
&sc->sc_bsh_rxdescs);