Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/fdt Remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/ec54c4426621
branches:  trunk
changeset: 995723:ec54c4426621
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Jan 03 12:54:25 2019 +0000

description:
Remove unused variable

diffstat:

 sys/arch/arm/fdt/arm_fdt.c    |  7 ++-----
 sys/arch/arm/fdt/arm_fdtvar.h |  4 +---
 2 files changed, 3 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r 716eb0502f89 -r ec54c4426621 sys/arch/arm/fdt/arm_fdt.c
--- a/sys/arch/arm/fdt/arm_fdt.c        Thu Jan 03 12:52:40 2019 +0000
+++ b/sys/arch/arm/fdt/arm_fdt.c        Thu Jan 03 12:54:25 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm_fdt.c,v 1.8 2018/08/05 14:02:35 skrll Exp $ */
+/* $NetBSD: arm_fdt.c,v 1.9 2019/01/03 12:54:25 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_arm_timer.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm_fdt.c,v 1.8 2018/08/05 14:02:35 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_fdt.c,v 1.9 2019/01/03 12:54:25 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -49,9 +49,6 @@
 CFATTACH_DECL_NEW(arm_fdt, 0,
     arm_fdt_match, arm_fdt_attach, NULL, NULL);
 
-static struct arm_platlist arm_platform_list =
-    TAILQ_HEAD_INITIALIZER(arm_platform_list);
-
 struct arm_fdt_cpu_hatch_cb {
        TAILQ_ENTRY(arm_fdt_cpu_hatch_cb) next;
        void (*cb)(void *, struct cpu_info *);
diff -r 716eb0502f89 -r ec54c4426621 sys/arch/arm/fdt/arm_fdtvar.h
--- a/sys/arch/arm/fdt/arm_fdtvar.h     Thu Jan 03 12:52:40 2019 +0000
+++ b/sys/arch/arm/fdt/arm_fdtvar.h     Thu Jan 03 12:54:25 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm_fdtvar.h,v 1.13 2019/01/03 12:52:40 jmcneill Exp $ */
+/* $NetBSD: arm_fdtvar.h,v 1.14 2019/01/03 12:54:25 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -62,8 +62,6 @@
 };                                                                     \
 _ARM_PLATFORM_REGISTER(_name)
 
-TAILQ_HEAD(arm_platlist, arm_platform_info);
-
 const struct arm_platform *    arm_fdt_platform(void);
 
 /*



Home | Main Index | Thread Index | Old Index