Module Name:    src
Committed By:   joerg
Date:           Fri Jul 25 21:16:31 UTC 2014

Modified Files:
        src/sys/dev/usb: motg.c

Log Message:
UREAD4 is unused.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/usb/motg.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/motg.c
diff -u src/sys/dev/usb/motg.c:1.3 src/sys/dev/usb/motg.c:1.4
--- src/sys/dev/usb/motg.c:1.3	Sat Jul 19 22:08:54 2014
+++ src/sys/dev/usb/motg.c	Fri Jul 25 21:16:31 2014
@@ -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 @@ UREAD2(struct motg_softc *sc, bus_size_t
 	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 @@ UREAD4(struct motg_softc *sc, bus_size_t
 	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)  

Reply via email to