Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/dev Remove unused KBD_NULLMAP entries copy-pa...
details: https://anonhg.NetBSD.org/src/rev/a0636df1b4d8
branches: trunk
changeset: 433542:a0636df1b4d8
user: rin <rin%NetBSD.org@localhost>
date: Wed Sep 19 23:28:58 2018 +0000
description:
Remove unused KBD_NULLMAP entries copy-paste from sys/dev/pckbport.
diffstat:
sys/arch/atari/dev/wskbdmap_atari.c | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diffs (41 lines):
diff -r abe11ea00157 -r a0636df1b4d8 sys/arch/atari/dev/wskbdmap_atari.c
--- a/sys/arch/atari/dev/wskbdmap_atari.c Wed Sep 19 23:22:17 2018 +0000
+++ b/sys/arch/atari/dev/wskbdmap_atari.c Wed Sep 19 23:28:58 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wskbdmap_atari.c,v 1.4 2008/04/28 20:23:15 martin Exp $ */
+/* $NetBSD: wskbdmap_atari.c,v 1.5 2018/09/19 23:28:58 rin Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wskbdmap_atari.c,v 1.4 2008/04/28 20:23:15 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wskbdmap_atari.c,v 1.5 2018/09/19 23:28:58 rin Exp $");
#include <sys/types.h>
#include <dev/wscons/wsksymdef.h>
@@ -461,9 +461,6 @@
#define KBD_MAP(name, base, map) \
{ name, base, sizeof(map)/sizeof(keysym_t), map }
-/* KBD_NULLMAP generates a entry for machine native variant.
- the entry will be modified by machine dependent keyboard driver. */
-#define KBD_NULLMAP(name, base) { name, base, 0, 0 }
const struct wscons_keydesc atarikbd_keydesctab[] = {
KBD_MAP(KB_US, 0, atarikbd_keydesc_us),
@@ -490,12 +487,6 @@
KBD_MAP(KB_US | KB_IOPENER | KB_SWAPCTRLCAPS, KB_US | KB_IOPENER,
atarikbd_keydesc_swapctrlcaps),
KBD_MAP(KB_ES , KB_US, atarikbd_keydesc_es),
- KBD_NULLMAP(KB_US | KB_MACHDEP, KB_US),
- KBD_NULLMAP(KB_JP | KB_MACHDEP, KB_JP),
- KBD_NULLMAP(KB_US | KB_MACHDEP | KB_SWAPCTRLCAPS,
- KB_US | KB_SWAPCTRLCAPS),
- KBD_NULLMAP(KB_JP | KB_MACHDEP | KB_SWAPCTRLCAPS,
- KB_JP | KB_SWAPCTRLCAPS),
{0, 0, 0, 0}
};
Home |
Main Index |
Thread Index |
Old Index