Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha Remove unused dot_conv() function.
details: https://anonhg.NetBSD.org/src/rev/8bc2780bcef8
branches: trunk
changeset: 1021068:8bc2780bcef8
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed May 05 15:36:17 2021 +0000
description:
Remove unused dot_conv() function.
diffstat:
sys/arch/alpha/alpha/machdep.c | 25 ++-----------------------
sys/arch/alpha/include/alpha.h | 3 +--
2 files changed, 3 insertions(+), 25 deletions(-)
diffs (63 lines):
diff -r 79a05cb2c90f -r 8bc2780bcef8 sys/arch/alpha/alpha/machdep.c
--- a/sys/arch/alpha/alpha/machdep.c Wed May 05 15:34:54 2021 +0000
+++ b/sys/arch/alpha/alpha/machdep.c Wed May 05 15:36:17 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.370 2021/05/05 15:34:54 thorpej Exp $ */
+/* $NetBSD: machdep.c,v 1.371 2021/05/05 15:36:17 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2019, 2020 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.370 2021/05/05 15:34:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.371 2021/05/05 15:36:17 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1810,27 +1810,6 @@
return true;
}
-char *
-dot_conv(unsigned long x)
-{
- int i;
- char *xc;
- static int next;
- static char space[2][20];
-
- xc = space[next ^= 1] + sizeof space[0];
- *--xc = '\0';
- for (i = 0;; ++i) {
- if (i && (i & 3) == 0)
- *--xc = '.';
- *--xc = hexdigits[x & 0xf];
- x >>= 4;
- if (x == 0)
- break;
- }
- return xc;
-}
-
void
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
{
diff -r 79a05cb2c90f -r 8bc2780bcef8 sys/arch/alpha/include/alpha.h
--- a/sys/arch/alpha/include/alpha.h Wed May 05 15:34:54 2021 +0000
+++ b/sys/arch/alpha/include/alpha.h Wed May 05 15:36:17 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alpha.h,v 1.44 2020/10/14 00:59:50 thorpej Exp $ */
+/* $NetBSD: alpha.h,v 1.45 2021/05/05 15:36:17 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -108,7 +108,6 @@
struct trapframe *);
void trap_init(void);
void enable_nsio_ide(bus_space_tag_t);
-char * dot_conv(unsigned long);
extern const pcu_ops_t fpu_ops;
Home |
Main Index |
Thread Index |
Old Index