projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a4cce
)
p54: fix "‘ret’ may be used uninitialized" warning
author
John W. Linville
<
[email protected]
>
Mon, 12 Jan 2009 19:46:39 +0000
(14:46 -0500)
committer
John W. Linville
<
[email protected]
>
Tue, 13 Jan 2009 15:25:46 +0000
(10:25 -0500)
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 <
[email protected]
>
drivers/net/wireless/p54/p54common.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/p54/p54common.c
b/drivers/net/wireless/p54/p54common.c
index cba89ed0f572ff2a50f45e062ab775bb087c8cdb..c6a370fa9bcbf11115fdd9063327356339f4504d 100644
(file)
--- 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,
static int p54_config(struct ieee80211_hw *dev, u32 changed)
{
- int ret;
+ int ret
= 0
;
struct p54_common *priv = dev->priv;
struct ieee80211_conf *conf = &dev->conf;