From ed0650b04c5611372f0ae6419c752e32fef4f52d Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 29 May 2006 20:40:59 +0000 Subject: Remove unused NetBSD new-style %b strings. --- sys/arch/amd64/amd64/apic.c | 17 +---------------- sys/arch/amd64/amd64/mpbios.c | 9 +-------- sys/arch/i386/i386/apic.c | 17 +---------------- sys/arch/i386/i386/mpbios.c | 9 +-------- sys/ntfs/ntfsmount.h | 5 +---- 5 files changed, 5 insertions(+), 52 deletions(-) (limited to 'sys') diff --git a/sys/arch/amd64/amd64/apic.c b/sys/arch/amd64/amd64/apic.c index aa21491781b..2393c25d17d 100644 --- a/sys/arch/amd64/amd64/apic.c +++ b/sys/arch/amd64/amd64/apic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apic.c,v 1.1 2004/06/25 11:03:27 art Exp $ */ +/* $OpenBSD: apic.c,v 1.2 2006/05/29 20:40:55 miod Exp $ */ /* $NetBSD: apic.c,v 1.1 2003/02/26 21:26:11 fvdl Exp $ */ /*- @@ -47,21 +47,6 @@ #include #include - -const char redirlofmt[] = "\177\20" - "f\0\10vector\0" - "f\10\3delmode\0" - "b\13logical\0" - "b\14pending\0" - "b\15actlo\0" - "b\16irrpending\0" - "b\17level\0" - "b\20masked\0" - "f\22\1dest\0" "=\1self" "=\2all" "=\3all-others"; - -const char redirhifmt[] = "\177\20" - "f\30\10target\0"; - void apic_format_redir(where1, where2, idx, redirhi, redirlo) char *where1; diff --git a/sys/arch/amd64/amd64/mpbios.c b/sys/arch/amd64/amd64/mpbios.c index 9e5c35aa4a7..ac29fb4c45e 100644 --- a/sys/arch/amd64/amd64/mpbios.c +++ b/sys/arch/amd64/amd64/mpbios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpbios.c,v 1.5 2006/04/21 20:13:26 kettenis Exp $ */ +/* $OpenBSD: mpbios.c,v 1.6 2006/05/29 20:40:55 miod Exp $ */ /* $NetBSD: mpbios.c,v 1.7 2003/05/15 16:32:50 fvdl Exp $ */ /*- @@ -997,13 +997,6 @@ mpbios_ioapic(ent, self) config_found_sm(self, &aaa, mp_print, mp_match); } -static const char inttype_fmt[] = "\177\020" - "f\0\2type\0" "=\1NMI\0" "=\2SMI\0" "=\3ExtINT\0"; - -static const char flagtype_fmt[] = "\177\020" - "f\0\2pol\0" "=\1Act Hi\0" "=\3Act Lo\0" - "f\2\2trig\0" "=\1Edge\0" "=\3Level\0"; - int mpbios_int(ent, enttype, mpi) const u_int8_t *ent; diff --git a/sys/arch/i386/i386/apic.c b/sys/arch/i386/i386/apic.c index 6ed294770f3..9e80d1d50bb 100644 --- a/sys/arch/i386/i386/apic.c +++ b/sys/arch/i386/i386/apic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apic.c,v 1.2 2004/06/13 21:49:15 niklas Exp $ */ +/* $OpenBSD: apic.c,v 1.3 2006/05/29 20:40:58 miod Exp $ */ /* $NetBSD: apic.c,v 1.1.2.2 2000/02/21 18:51:00 sommerfeld Exp $ */ /*- @@ -46,21 +46,6 @@ #include #include - -const char redirlofmt[] = "\177\20" - "f\0\10vector\0" - "f\10\3delmode\0" - "b\13logical\0" - "b\14pending\0" - "b\15actlo\0" - "b\16irrpending\0" - "b\17level\0" - "b\20masked\0" - "f\22\1dest\0" "=\1self" "=\2all" "=\3all-others"; - -const char redirhifmt[] = "\177\20" - "f\30\10target\0"; - void apic_format_redir(where1, where2, idx, redirhi, redirlo) char *where1; diff --git a/sys/arch/i386/i386/mpbios.c b/sys/arch/i386/i386/mpbios.c index e8ea8569f07..a4db41103ab 100644 --- a/sys/arch/i386/i386/mpbios.c +++ b/sys/arch/i386/i386/mpbios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpbios.c,v 1.13 2006/05/14 19:07:46 kettenis Exp $ */ +/* $OpenBSD: mpbios.c,v 1.14 2006/05/29 20:40:58 miod Exp $ */ /* $NetBSD: mpbios.c,v 1.2 2002/10/01 12:56:57 fvdl Exp $ */ /*- @@ -1064,13 +1064,6 @@ mpbios_ioapic(ent, self) config_found_sm(self, &aaa, mp_print, mp_match); } -static const char inttype_fmt[] = "\177\020" - "f\0\2type\0" "=\1NMI\0" "=\2SMI\0" "=\3ExtINT\0"; - -static const char flagtype_fmt[] = "\177\020" - "f\0\2pol\0" "=\1Act Hi\0" "=\3Act Lo\0" - "f\2\2trig\0" "=\1Edge\0" "=\3Level\0"; - int mpbios_int(ent, mpi) const u_int8_t *ent; diff --git a/sys/ntfs/ntfsmount.h b/sys/ntfs/ntfsmount.h index ca03d02359f..79cb2321e5f 100644 --- a/sys/ntfs/ntfsmount.h +++ b/sys/ntfs/ntfsmount.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfsmount.h,v 1.2 2003/05/20 03:23:12 mickey Exp $ */ +/* $OpenBSD: ntfsmount.h,v 1.3 2006/05/29 20:40:58 miod Exp $ */ /* $NetBSD: ntfsmount.h,v 1.1 2002/12/23 17:38:34 jdolecek Exp $ */ /*- @@ -31,6 +31,3 @@ #define NTFS_MFLAG_CASEINS 0x00000001 #define NTFS_MFLAG_ALLNAMES 0x00000002 - -#define NTFS_MFLAG_BITS "\177\20" \ - "b\00caseins\0b\01allnames" -- cgit v1.2.3