devices/e1000e/82571-2.6.37-ethercat.c
branchstable-1.5
changeset 2378 ca345abf0565
parent 2234 18f9c69d9590
--- a/devices/e1000e/82571-2.6.37-ethercat.c	Tue Apr 10 19:09:51 2012 +0200
+++ b/devices/e1000e/82571-2.6.37-ethercat.c	Tue Apr 10 19:10:56 2012 +0200
@@ -82,7 +82,7 @@
 static s32 e1000_init_phy_params_82571(struct e1000_hw *hw)
 {
 	struct e1000_phy_info *phy = &hw->phy;
-	s32 ret_val;
+	s32 ret_val __attribute__ ((unused));
 
 	if (hw->phy.media_type != e1000_media_type_copper) {
 		phy->type = e1000_phy_none;
@@ -853,7 +853,7 @@
  **/
 static s32 e1000_reset_hw_82571(struct e1000_hw *hw)
 {
-	u32 ctrl, extcnf_ctrl, ctrl_ext, icr;
+	u32 ctrl, extcnf_ctrl, ctrl_ext, icr __attribute__ ((unused));
 	s32 ret_val;
 	u16 i = 0;