PERFORCE change 166484 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Thu Jul 23 23:54:45 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=166484

Change 166484 by gonzo at gonzo_figaro on 2009/07/23 23:54:32

	- More unused variables

Affected files ...

.. //depot/projects/avr32/src/sys/avr32/avr32/at32_hmatrix.c#2 edit

Differences ...

==== //depot/projects/avr32/src/sys/avr32/avr32/at32_hmatrix.c#2 (text+ko) ====

@@ -65,6 +65,7 @@
 //static void at32_hmatrix_dump_master(device_t, int);
 //static void at32_hmatrix_dump_slave(device_t, int);
 
+#ifdef notyet
 /* Driver variables and private data */
 static char *at32_hmatrix_master[HMATRIX_MAX_ENTRIES] = {
 	"CPU Dcache",
@@ -96,6 +97,8 @@
 	"LCDC config",
 	"DMACA config",
 };
+#endif
+
 struct at32_hmatrix_softc {
 	struct resource		*regs_res;
 	int			regs_rid;
@@ -135,7 +138,8 @@
 		return (err);
 	}
 
-/*	int i;
+#ifdef notyet
+	int i;
 	device_printf(dev,
 		"CH Name             Undefined Length Burst\n");
 	for (i = 0; i < HMATRIX_MAX_ENTRIES; i++) {
@@ -149,7 +153,8 @@
 		if (at32_hmatrix_slave[i] != '\0') {
 			at32_hmatrix_dump_slave(dev, i);
 		}
-	} */
+	}
+#endif
 
 	return (0);
 }
@@ -199,7 +204,7 @@
 	devclk_disable(dev);
 }
 
-#if 0 // Not jet
+#ifdef notyet
 static void
 at32_hmatrix_dump_master(device_t dev, int i)
 {


More information about the p4-projects mailing list