Remove unused dot_conv() function.
This commit is contained in:
parent
f19bd5bd6d
commit
8c0088cdb7
|
@ -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 @@ mm_md_direct_mapped_phys(paddr_t paddr, vaddr_t *vaddr)
|
|||
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)
|
||||
{
|
||||
|
|
|
@ -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 @@ void trap(unsigned long, unsigned long, unsigned long, unsigned long,
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue