netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch net-next]atl1c:remove compiling warning
@ 2009-09-21  5:01 jie.yang
  2009-09-22 21:21 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: jie.yang @ 2009-09-21  5:01 UTC (permalink / raw)
  To: davem; +Cc: akpm, jirislaby, jcliburn, netdev, linux-kernel, Jie Yang

Set wol_ctrl_data to value 0, to remove compiling warning.

Signed-off-by: Jie Yang <jie.yang@atheros.com>
---
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;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-22 21:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-21  5:01 [Patch net-next]atl1c:remove compiling warning jie.yang
2009-09-22 21:21 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).