Module Name: src
Committed By: christos
Date: Sun Oct 20 21:16:55 UTC 2013
Modified Files:
src/common/lib/libx86emu: x86emu_i8254.c
Log Message:
remove unused
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/common/lib/libx86emu/x86emu_i8254.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/common/lib/libx86emu/x86emu_i8254.c
diff -u src/common/lib/libx86emu/x86emu_i8254.c:1.1 src/common/lib/libx86emu/x86emu_i8254.c:1.2
--- src/common/lib/libx86emu/x86emu_i8254.c:1.1 Fri Dec 21 12:45:50 2007
+++ src/common/lib/libx86emu/x86emu_i8254.c Sun Oct 20 17:16:54 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: x86emu_i8254.c,v 1.1 2007/12/21 17:45:50 joerg Exp $ */
+/* $NetBSD: x86emu_i8254.c,v 1.2 2013/10/20 21:16:54 christos Exp $ */
/*-
* Copyright (c) 2007 Joerg Sonnenberger <[email protected]>.
@@ -109,8 +109,6 @@ x86emu_i8254_counter(struct x86emu_i8254
static bool
x86emu_i8254_out(struct x86emu_i8254_timer *timer, uint64_t curtick)
{
- uint16_t maxtick;
-
/*
* TODO:
* Mode 0:
@@ -125,12 +123,6 @@ x86emu_i8254_out(struct x86emu_i8254_tim
if (timer->gate_high || timer->start_tick > curtick)
return (timer->active_mode != 0);
- /* Max tick based on BCD/binary mode */
- if (timer->active_is_bcd)
- maxtick = 9999;
- else
- maxtick = 0xffff;
-
curtick -= timer->start_tick;
/* Return LOW until counter is 0, afterwards HIGH until reload. */