Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/xscale Mark tmr0_read and tmr1_read as unused.



details:   https://anonhg.NetBSD.org/src/rev/63a5d8ba93c2
branches:  trunk
changeset: 792038:63a5d8ba93c2
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Dec 17 01:28:56 2013 +0000

description:
Mark tmr0_read and tmr1_read as unused.

diffstat:

 sys/arch/arm/xscale/i80321_timer.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 90b30c1ef176 -r 63a5d8ba93c2 sys/arch/arm/xscale/i80321_timer.c
--- a/sys/arch/arm/xscale/i80321_timer.c        Tue Dec 17 01:28:04 2013 +0000
+++ b/sys/arch/arm/xscale/i80321_timer.c        Tue Dec 17 01:28:56 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i80321_timer.c,v 1.20 2011/07/01 20:32:51 dyoung Exp $ */
+/*     $NetBSD: i80321_timer.c,v 1.21 2013/12/17 01:28:56 joerg Exp $ */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i80321_timer.c,v 1.20 2011/07/01 20:32:51 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i80321_timer.c,v 1.21 2013/12/17 01:28:56 joerg Exp $");
 
 #include "opt_perfctrs.h"
 #include "opt_i80321.h"
@@ -76,7 +76,7 @@
 
 int    clockhandler(void *);
 
-static inline uint32_t
+__unused static inline uint32_t
 tmr0_read(void)
 {
        uint32_t rv;
@@ -123,7 +123,7 @@
                : "r" (val));
 }
 
-static inline uint32_t
+__unused static inline uint32_t
 tmr1_read(void)
 {
        uint32_t rv;



Home | Main Index | Thread Index | Old Index