From e37bea73c317b95a3c6d62c90c95a9966099077d Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Sun, 16 Aug 2009 15:00:18 +0000 Subject: [PATCH] remove foo --- .../cmd/standalone/sa.timer/kernel/timer.c | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/WEGA/src/cmd/standalone/sa.timer/kernel/timer.c b/WEGA/src/cmd/standalone/sa.timer/kernel/timer.c index 27379e8..b2d5761 100644 --- a/WEGA/src/cmd/standalone/sa.timer/kernel/timer.c +++ b/WEGA/src/cmd/standalone/sa.timer/kernel/timer.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: timer.c,v 1.3 2009/08/16 14:52:52 olivleh1 Exp $ + * $Id: timer.c,v 1.4 2009/08/16 15:00:18 olivleh1 Exp $ */ @@ -35,26 +35,6 @@ long gettime() { -#ifdef foo - register long time; - int a,b; - - time = 0; - a = inb(U130BASE)&~MSK_U130; - b = STR_U130; - if( a == b) { - printf("RFT U130X RTC found\n"); - time = u130get(); - } else { - a = inb(R421BASE)&~MSK_R421; - b = STR_R421; - if( a == b) { - printf("Seiko Epson RTC-72421\n"); - time = r421get(); - } - } - -#endif register long time; register i; struct clock_type *t;