# HG changeset patch # User Florian Pose # Date 1326127286 -3600 # Node ID 85da92490830bef88873f4b27cf51534c787de7c # Parent 6176430fee071d748c72b75e89cb2afbc9a10e49 Avoided unused variable warnings. diff -r 6176430fee07 -r 85da92490830 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);