devices/e1000e/netdev-2.6.37-ethercat.c
changeset 2239 fb6ec8610ada
parent 2092 941f2d72f115
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);