Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb UREAD4 is unused.
details: https://anonhg.NetBSD.org/src/rev/9695cc78fa86
branches: trunk
changeset: 330963:9695cc78fa86
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Jul 25 21:16:31 2014 +0000
description:
UREAD4 is unused.
diffstat:
sys/dev/usb/motg.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r c946567ef2e0 -r 9695cc78fa86 sys/dev/usb/motg.c
--- a/sys/dev/usb/motg.c Fri Jul 25 20:13:36 2014 +0000
+++ b/sys/dev/usb/motg.c Fri Jul 25 21:16:31 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: motg.c,v 1.3 2014/07/19 22:08:54 bouyer Exp $ */
+/* $NetBSD: motg.c,v 1.4 2014/07/25 21:16:31 joerg Exp $ */
/*
* Copyright (c) 1998, 2004, 2011, 2012, 2014 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: motg.c,v 1.3 2014/07/19 22:08:54 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: motg.c,v 1.4 2014/07/25 21:16:31 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -170,6 +170,8 @@
UBARR(sc);
return bus_space_read_2(sc->sc_iot, sc->sc_ioh, r);
}
+
+#if 0
static __inline uint32_t
UREAD4(struct motg_softc *sc, bus_size_t r)
{
@@ -177,6 +179,7 @@
UBARR(sc);
return bus_space_read_4(sc->sc_iot, sc->sc_ioh, r);
}
+#endif
static void
musbotg_pull_common(struct motg_softc *sc, uint8_t on)
Home |
Main Index |
Thread Index |
Old Index