diff mbox

[net-next] atl1c:remove compiling warning

Message ID 12535093181069-git-send-email-jie.yang@atheros.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

jie.yang@atheros.com Sept. 21, 2009, 5:01 a.m. UTC
Set wol_ctrl_data to value 0, to remove compiling warning.

Signed-off-by: Jie Yang <jie.yang@atheros.com>
---
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller Sept. 22, 2009, 9:21 p.m. UTC | #1
From: <jie.yang@atheros.com>
Date: Mon, 21 Sep 2009 13:01:58 +0800

> Set wol_ctrl_data to value 0, to remove compiling warning.
> 
> Signed-off-by: Jie Yang <jie.yang@atheros.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c
index be2c6cf..1372e9a 100644
--- a/drivers/net/atl1c/atl1c_main.c
+++ b/drivers/net/atl1c/atl1c_main.c
@@ -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;