Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Remove unused umcs7840_reg_dcr0.
details: https://anonhg.NetBSD.org/src/rev/58d02b1b6013
branches: trunk
changeset: 329089:58d02b1b6013
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 05 20:56:15 2014 +0000
description:
Remove unused umcs7840_reg_dcr0.
diffstat:
sys/dev/usb/umcs.c | 17 ++---------------
1 files changed, 2 insertions(+), 15 deletions(-)
diffs (38 lines):
diff -r 660f01ce0b79 -r 58d02b1b6013 sys/dev/usb/umcs.c
--- a/sys/dev/usb/umcs.c Mon May 05 20:52:45 2014 +0000
+++ b/sys/dev/usb/umcs.c Mon May 05 20:56:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umcs.c,v 1.6 2014/03/23 20:20:38 riastradh Exp $ */
+/* $NetBSD: umcs.c,v 1.7 2014/05/05 20:56:15 joerg Exp $ */
/* $FreeBSD: head/sys/dev/usb/serial/umcs.c 260559 2014-01-12 11:44:28Z hselasky $ */
/*-
@@ -41,7 +41,7 @@
*
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umcs.c,v 1.6 2014/03/23 20:20:38 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umcs.c,v 1.7 2014/05/05 20:56:15 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -169,19 +169,6 @@
}
}
-static inline int
-umcs7840_reg_dcr0(int phyport)
-{
- KASSERT(phyport >= 0 && phyport < 4);
- switch (phyport) {
- default:
- case 0: return MCS7840_DEV_REG_DCR0_1;
- case 1: return MCS7840_DEV_REG_DCR0_2;
- case 2: return MCS7840_DEV_REG_DCR0_3;
- case 3: return MCS7840_DEV_REG_DCR0_4;
- }
-}
-
static int
umcs7840_match(device_t dev, cfdata_t match, void *aux)
{
Home |
Main Index |
Thread Index |
Old Index