devices/e1000e/netdev-2.6.37-ethercat.c
branchstable-1.5
changeset 2234 18f9c69d9590
parent 2219 d52848f0be04
child 2421 bc2d4bf9cbe5
child 2589 2b9c78543663
--- a/devices/e1000e/netdev-2.6.37-ethercat.c	Mon Jan 09 17:42:01 2012 +0100
+++ b/devices/e1000e/netdev-2.6.37-ethercat.c	Mon Jan 09 17:42:12 2012 +0100
@@ -2790,7 +2790,7 @@
 
 	/* Workaround Si errata on 82579 - configure jumbo frame flow */
 	if (hw->mac.type == e1000_pch2lan) {
-		s32 ret_val;
+		s32 ret_val __attribute__ ((unused));
 
 		if (adapter->netdev->mtu > ETH_DATA_LEN)
 			ret_val = e1000_lv_jumbo_workaround_ich8lan(hw, true);