Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/nvidia Remove unused tegra_dma_tag



details:   https://anonhg.NetBSD.org/src/rev/0abad0825f31
branches:  trunk
changeset: 824236:0abad0825f31
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun May 28 23:32:14 2017 +0000

description:
Remove unused tegra_dma_tag

diffstat:

 sys/arch/arm/nvidia/tegra_soc.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (33 lines):

diff -r 2e9697e79be7 -r 0abad0825f31 sys/arch/arm/nvidia/tegra_soc.c
--- a/sys/arch/arm/nvidia/tegra_soc.c   Sun May 28 23:31:41 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_soc.c   Sun May 28 23:32:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_soc.c,v 1.12 2017/05/27 20:26:27 jmcneill Exp $ */
+/* $NetBSD: tegra_soc.c,v 1.13 2017/05/28 23:32:14 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -30,9 +30,8 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_soc.c,v 1.12 2017/05/27 20:26:27 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_soc.c,v 1.13 2017/05/28 23:32:14 jmcneill Exp $");
 
-#define        _ARM32_BUS_DMA_PRIVATE
 #include <sys/param.h>
 #include <sys/bus.h>
 #include <sys/cpu.h>
@@ -53,12 +52,6 @@
 bus_space_handle_t tegra_apb_bsh;
 bus_space_handle_t tegra_ahb_a2_bsh;
 
-struct arm32_bus_dma_tag tegra_dma_tag = {
-       _BUS_DMAMAP_FUNCS,
-       _BUS_DMAMEM_FUNCS,
-       _BUS_DMATAG_FUNCS,
-};
-
 static void    tegra_mpinit(void);
 
 void



Home | Main Index | Thread Index | Old Index