Module Name:    src
Committed By:   thorpej
Date:           Wed May  5 15:36:17 UTC 2021

Modified Files:
        src/sys/arch/alpha/alpha: machdep.c
        src/sys/arch/alpha/include: alpha.h

Log Message:
Remove unused dot_conv() function.


To generate a diff of this commit:
cvs rdiff -u -r1.370 -r1.371 src/sys/arch/alpha/alpha/machdep.c
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/alpha/include/alpha.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/alpha/alpha/machdep.c
diff -u src/sys/arch/alpha/alpha/machdep.c:1.370 src/sys/arch/alpha/alpha/machdep.c:1.371
--- src/sys/arch/alpha/alpha/machdep.c:1.370	Wed May  5 15:34:54 2021
+++ src/sys/arch/alpha/alpha/machdep.c	Wed May  5 15:36:17 2021
@@ -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, 
 	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)
 {

Index: src/sys/arch/alpha/include/alpha.h
diff -u src/sys/arch/alpha/include/alpha.h:1.44 src/sys/arch/alpha/include/alpha.h:1.45
--- src/sys/arch/alpha/include/alpha.h:1.44	Wed Oct 14 00:59:50 2020
+++ src/sys/arch/alpha/include/alpha.h	Wed May  5 15:36:17 2021
@@ -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, 
 	    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;
 

Reply via email to