Skip to contentSkip to conversation

atl1c:remove compiling warning

PATCH Applied [email protected] 2 participants 2 messages Sep 21, 2009 – Sep 22, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atl1c:remove compiling warning

Set wol_ctrl_data to value 0, to remove compiling warning.

---

drivers/net/atl1c/atl1c_main.c +1 -1
index be2c6cf..1372e9a 100644
@@ -2296,7 +2296,7 @@ static int atl1c_suspend(struct pci_dev *pdev, pm_message_t state)
 	u32 ctrl;
 	u32 mac_ctrl_data;
 	u32 master_ctrl_data;
-	u32 wol_ctrl_data;
+	u32 wol_ctrl_data = 0;
 	u16 mii_bmsr_data;
 	u16 save_autoneg_advertised;
 	u16 mii_intr_status_data;