Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/nitrogen6 Garbage collect unused variables c...
details: https://anonhg.NetBSD.org/src/rev/b064f03b6e77
branches: trunk
changeset: 343760:b064f03b6e77
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Feb 25 12:22:30 2016 +0000
description:
Garbage collect unused variables comcnaddr, comcnspeed and comcnmode.
diffstat:
sys/arch/evbarm/nitrogen6/nitrogen6_machdep.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r 00382b6d74f0 -r b064f03b6e77 sys/arch/evbarm/nitrogen6/nitrogen6_machdep.c
--- a/sys/arch/evbarm/nitrogen6/nitrogen6_machdep.c Thu Feb 25 08:51:54 2016 +0000
+++ b/sys/arch/evbarm/nitrogen6/nitrogen6_machdep.c Thu Feb 25 12:22:30 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nitrogen6_machdep.c,v 1.5 2015/12/31 12:14:01 ryo Exp $ */
+/* $NetBSD: nitrogen6_machdep.c,v 1.6 2016/02/25 12:22:30 joerg Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nitrogen6_machdep.c,v 1.5 2015/12/31 12:14:01 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nitrogen6_machdep.c,v 1.6 2016/02/25 12:22:30 joerg Exp $");
#include "opt_evbarm_boardtype.h"
#include "opt_arm_debug.h"
@@ -97,10 +97,6 @@
void nitrogen6_setup_iomux(void);
void nitrogen6_device_register(device_t, void *);
-static const bus_addr_t comcnaddr = (bus_addr_t)CONADDR;
-static const int comcnspeed = CONSPEED;
-static const int comcnmode = CONMODE | CLOCAL;
-
#ifdef KGDB
#include <sys/kgdb.h>
#endif
Home |
Main Index |
Thread Index |
Old Index