Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/ti arm/ti: Omit needless dv_private assignment ...



details:   https://anonhg.NetBSD.org/src/rev/7edd9464c4b1
branches:  trunk
changeset: 361133:7edd9464c4b1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Feb 11 23:48:33 2022 +0000

description:
arm/ti: Omit needless dv_private assignment in omap2icu_attach.

diffstat:

 sys/arch/arm/ti/ti_omapintc.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 0c7a688807b8 -r 7edd9464c4b1 sys/arch/arm/ti/ti_omapintc.c
--- a/sys/arch/arm/ti/ti_omapintc.c     Fri Feb 11 23:44:18 2022 +0000
+++ b/sys/arch/arm/ti/ti_omapintc.c     Fri Feb 11 23:48:33 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ti_omapintc.c,v 1.8 2021/01/27 03:10:20 thorpej Exp $  */
+/*     $NetBSD: ti_omapintc.c,v 1.9 2022/02/11 23:48:33 riastradh Exp $        */
 /*
  * Define the SDP2430 specific information and then include the generic OMAP
  * interrupt header.
@@ -29,7 +29,7 @@
 #define _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ti_omapintc.c,v 1.8 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ti_omapintc.c,v 1.9 2022/02/11 23:48:33 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/evcnt.h>
@@ -260,7 +260,6 @@
                INTC_WRITE(sc, n, INTC_MIR_SET, 0xffffffff);
 
        sc->sc_dev = self;
-       self->dv_private = sc;
 
        sc->sc_pic.pic_ops = &omap2icu_picops;
        sc->sc_pic.pic_maxsources = sc->sc_nbank * 32;



Home | Main Index | Thread Index | Old Index