summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-20 18:53:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-20 18:53:10 +0000
commitfa04a33842e1afe447b445cf4dd9d8a7f5d94812 (patch)
tree4e5bdcfe197c65b97264203ad0f73be93132398d /sys/arch/zaurus/dev
parentf6c59721c1d7f228060f40b6a4c985e3f4b9a5fd (diff)
remove old #if 0 chunks no longer needed for debug
Diffstat (limited to 'sys/arch/zaurus/dev')
-rw-r--r--sys/arch/zaurus/dev/zaurus_kbd.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_kbd.c b/sys/arch/zaurus/dev/zaurus_kbd.c
index 501dc7878f1..00e7fc16ccc 100644
--- a/sys/arch/zaurus/dev/zaurus_kbd.c
+++ b/sys/arch/zaurus/dev/zaurus_kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zaurus_kbd.c,v 1.26 2005/12/20 04:28:19 deraadt Exp $ */
+/* $OpenBSD: zaurus_kbd.c,v 1.27 2005/12/20 18:53:09 deraadt Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@openbsd.org>
*
@@ -407,11 +407,6 @@ zkbd_poll(void *v)
type = keystate ? WSCONS_EVENT_KEY_DOWN :
WSCONS_EVENT_KEY_UP;
-#if 0
- printf("key %d %s\n", i,
- keystate ? "pressed" : "released");
-#endif
-
if (sc->sc_polling) {
sc->sc_pollkey = i;
sc->sc_pollUD = type;
@@ -483,18 +478,12 @@ zkbd_on(void *v)
zkbdondown = 0;
}
#endif
-#if 0
- printf("on key pressed\n");
-#endif
return 1;
}
int
zkbd_sync(void *v)
{
-#if 0
- printf("sync button pressed\n");
-#endif
return 1;
}
@@ -506,9 +495,6 @@ zkbd_hinge(void *v)
int b = pxa2x0_gpio_get_bit(sc->sc_swb_pin) ? 2 : 0;
extern void lcd_blank(int);
-#if 0
- printf("hinge event A %d B %d\n", a, b);
-#endif
sc->sc_hinge = a | b;
if (sc->sc_hinge == 3)