diff options
author | Frank Lichtenheld <frank@lichtenheld.de> | 2007-11-24 15:11:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:05:02 -0500 |
commit | 125c5cc2c8c1fab6a6a1d8a07f7073b240e6d325 (patch) | |
tree | 7e58cb6de1dcbd5f08c0cac7f64670ea593c3a43 | |
parent | 013978b688d2a27af3ab55ca739e8c8ac7254870 (diff) |
b43legacy: properly fix a bogus gcc warning
Use initialized_var() to properly fix a bogus gcc warning.
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Cc: Frank Lichtenheld <frank@lichtenheld.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/b43legacy/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43legacy/debugfs.c b/drivers/net/wireless/b43legacy/debugfs.c index 619b4534ef0..03ce0821a60 100644 --- a/drivers/net/wireless/b43legacy/debugfs.c +++ b/drivers/net/wireless/b43legacy/debugfs.c | |||
@@ -209,7 +209,7 @@ static ssize_t b43legacy_debugfs_read(struct file *file, char __user *userbuf, | |||
209 | struct b43legacy_wldev *dev; | 209 | struct b43legacy_wldev *dev; |
210 | struct b43legacy_debugfs_fops *dfops; | 210 | struct b43legacy_debugfs_fops *dfops; |
211 | struct b43legacy_dfs_file *dfile; | 211 | struct b43legacy_dfs_file *dfile; |
212 | ssize_t ret = 0; | 212 | ssize_t uninitialized_var(ret); |
213 | char *buf; | 213 | char *buf; |
214 | const size_t bufsize = 1024 * 128; | 214 | const size_t bufsize = 1024 * 128; |
215 | const size_t buforder = get_order(bufsize); | 215 | const size_t buforder = get_order(bufsize); |