Avoided unused variable warnings. redundancy
authorFlorian Pose <fp@igh-essen.com>
Mon, 09 Jan 2012 17:41:26 +0100
branchredundancy
changeset 2332 85da92490830
parent 2331 6176430fee07
child 2333 b9edca47250f
Avoided unused variable warnings.
devices/8139too-2.6.37-ethercat.c
--- a/devices/8139too-2.6.37-ethercat.c	Mon Jan 09 15:17:27 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);