Avoided unused variable warnings. redundancy
authorFlorian Pose <fp@igh-essen.com>
Mon, 09 Jan 2012 17:41:52 +0100
branchredundancy
changeset 2333 b9edca47250f
parent 2332 85da92490830
child 2334 e98faffe8650
Avoided unused variable warnings.
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);