devices/e1000/e1000_main-2.6.37-ethercat.c
branchredundancy
changeset 2334 e98faffe8650
parent 2322 e93f9cc6f84f
child 2284 08edb009bee8
--- a/devices/e1000/e1000_main-2.6.37-ethercat.c	Mon Jan 09 17:41:52 2012 +0100
+++ b/devices/e1000/e1000_main-2.6.37-ethercat.c	Mon Jan 09 17:42:01 2012 +0100
@@ -2435,7 +2435,7 @@
 		if ((adapter->ecdev && !ecdev_get_link(adapter->ecdev))
 				|| (!adapter->ecdev && !netif_carrier_ok(netdev))) {
 			u32 ctrl;
-			bool txb2b = true;
+			bool txb2b __attribute__ ((unused)) = true;
 			/* update snapshot of PHY registers on LSC */
 			e1000_get_speed_and_duplex(hw,
 			                           &adapter->link_speed,