aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-01-12 14:46:39 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-13 10:25:46 -0500
commit26d1597c9a4532eec74f9651c4c96483cb8892fe (patch)
tree67d3b2eb734f322a7537332e7f8f84a9701e52e7 /drivers/net/wireless
parent25a4cceaa44a7f73c8f92e6177812347500a0b15 (diff)
p54: fix "‘ret’ may be used uninitialized" warning
drivers/net/wireless/p54/p54common.c: In function ‘p54_config’: drivers/net/wireless/p54/p54common.c:1853: warning: ‘ret’ may be used uninitialized in this function Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/p54/p54common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
index cba89ed0f572..c6a370fa9bcb 100644
--- a/drivers/net/wireless/p54/p54common.c
+++ b/drivers/net/wireless/p54/p54common.c
@@ -1850,7 +1850,7 @@ static void p54_remove_interface(struct ieee80211_hw *dev,
1850 1850
1851static int p54_config(struct ieee80211_hw *dev, u32 changed) 1851static int p54_config(struct ieee80211_hw *dev, u32 changed)
1852{ 1852{
1853 int ret; 1853 int ret = 0;
1854 struct p54_common *priv = dev->priv; 1854 struct p54_common *priv = dev->priv;
1855 struct ieee80211_conf *conf = &dev->conf; 1855 struct ieee80211_conf *conf = &dev->conf;
1856 1856