Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/imx7 delete unused variables



details:   https://anonhg.NetBSD.org/src/rev/7fe935d69be7
branches:  trunk
changeset: 815462:7fe935d69be7
user:      ryo <ryo%NetBSD.org@localhost>
date:      Thu May 19 05:15:51 2016 +0000

description:
delete unused variables

diffstat:

 sys/arch/evbarm/imx7/imx7_machdep.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 470c12f8f96c -r 7fe935d69be7 sys/arch/evbarm/imx7/imx7_machdep.c
--- a/sys/arch/evbarm/imx7/imx7_machdep.c       Thu May 19 03:11:42 2016 +0000
+++ b/sys/arch/evbarm/imx7/imx7_machdep.c       Thu May 19 05:15:51 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx7_machdep.c,v 1.1 2016/05/17 06:44:46 ryo Exp $     */
+/*     $NetBSD: imx7_machdep.c,v 1.2 2016/05/19 05:15:51 ryo Exp $     */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx7_machdep.c,v 1.1 2016/05/17 06:44:46 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx7_machdep.c,v 1.2 2016/05/19 05:15:51 ryo Exp $");
 
 #include "opt_evbarm_boardtype.h"
 #include "opt_arm_debug.h"
@@ -97,10 +97,6 @@
 void imx7_setup_gpio(void);
 void imx7board_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