# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1326127312 -3600
# Node ID 6c5ca9444533c7781f30b2e3cb422327e37c9570
# Parent  07a6c9cffb786a3e286f825828ed2ddcd5b4fbd5
Avoided unused variable warnings.

diff -r 07a6c9cffb78 -r 6c5ca9444533 devices/e100-2.6.37-ethercat.c
--- a/devices/e100-2.6.37-ethercat.c	Mon Jan 09 17:41:26 2012 +0100
+++ b/devices/e100-2.6.37-ethercat.c	Mon Jan 09 17:41:52 2012 +0100
@@ -2713,7 +2713,7 @@
 {
 	struct ethtool_cmd cmd;
 	struct nic *nic = netdev_priv(netdev);
-	int i, err;
+	int i, err __attribute__ ((unused));
 
 	memset(data, 0, E100_TEST_LEN * sizeof(u64));
 	data[0] = !mii_link_ok(&nic->mii);