branch | stable-1.5 |
changeset 2378 | ca345abf0565 |
parent 2232 | 6c5ca9444533 |
child 2421 | bc2d4bf9cbe5 |
child 2589 | 2b9c78543663 |
--- a/devices/e100-2.6.37-ethercat.c Tue Apr 10 19:09:51 2012 +0200 +++ b/devices/e100-2.6.37-ethercat.c Tue Apr 10 19:10:56 2012 +0200 @@ -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);