Avoided unused variable warnings.
authorFlorian Pose <fp@igh-essen.com>
Mon, 09 Jan 2012 17:41:26 +0100
changeset 2236 1dfdb00e0901
parent 2229 97c7c202fa78
child 2237 2ff154f45d22
Avoided unused variable warnings.
devices/8139too-2.6.37-ethercat.c
--- a/devices/8139too-2.6.37-ethercat.c	Mon Jan 09 15:16:40 2012 +0100
+++ b/devices/8139too-2.6.37-ethercat.c	Mon Jan 09 17:41:26 2012 +0100
@@ -795,8 +795,10 @@
 	u8 tmp8;
 	int rc, disable_dev_on_err = 0;
 	unsigned int i;
-	unsigned long pio_start, pio_end, pio_flags, pio_len;
-	unsigned long mmio_start, mmio_end, mmio_flags, mmio_len;
+	unsigned long pio_start, pio_end __attribute__ ((unused)), pio_flags,
+                  pio_len;
+	unsigned long mmio_start __attribute__ ((unused)),
+                  mmio_end __attribute__ ((unused)), mmio_flags, mmio_len;
 	u32 version;
 
 	assert (pdev != NULL);