devices/e1000e/netdev-2.6.37-ethercat.c
branchstable-1.5
changeset 2378 ca345abf0565
parent 2234 18f9c69d9590
child 2421 bc2d4bf9cbe5
child 2589 2b9c78543663
--- a/devices/e1000e/netdev-2.6.37-ethercat.c	Tue Apr 10 19:09:51 2012 +0200
+++ b/devices/e1000e/netdev-2.6.37-ethercat.c	Tue Apr 10 19:10:56 2012 +0200
@@ -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);