diff -r aa0f6f939cb3 -r ca345abf0565 devices/e1000e/netdev-2.6.37-ethercat.c --- 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);