Module Name: src
Committed By: joerg
Date: Mon May 5 20:56:15 UTC 2014
Modified Files:
src/sys/dev/usb: umcs.c
Log Message:
Remove unused umcs7840_reg_dcr0.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/usb/umcs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/umcs.c
diff -u src/sys/dev/usb/umcs.c:1.6 src/sys/dev/usb/umcs.c:1.7
--- src/sys/dev/usb/umcs.c:1.6 Sun Mar 23 20:20:38 2014
+++ src/sys/dev/usb/umcs.c Mon May 5 20:56:15 2014
@@ -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 @@ umcs7840_reg_ctrl(int phyport)
}
}
-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)
{