summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43legacy/debugfs.c
diff options
context:
space:
mode:
authorFrank Lichtenheld <frank@lichtenheld.de>2007-11-24 21:11:08 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:05:02 +0100
commit125c5cc2c8c1fab6a6a1d8a07f7073b240e6d325 (patch)
tree7e58cb6de1dcbd5f08c0cac7f64670ea593c3a43 /drivers/net/wireless/b43legacy/debugfs.c
parentb43: Changes to enable BCM4311 rev 02 with wireless core revision 13 (diff)
downloadlinux-125c5cc2c8c1fab6a6a1d8a07f7073b240e6d325.tar.xz
linux-125c5cc2c8c1fab6a6a1d8a07f7073b240e6d325.zip
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>
Diffstat (limited to 'drivers/net/wireless/b43legacy/debugfs.c')
-rw-r--r--drivers/net/wireless/b43legacy/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43legacy/debugfs.c b/drivers/net/wireless/b43legacy/debugfs.c
index 619b4534ef09..03ce0821a60e 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,
struct b43legacy_wldev *dev;
struct b43legacy_debugfs_fops *dfops;
struct b43legacy_dfs_file *dfile;
- ssize_t ret = 0;
+ ssize_t uninitialized_var(ret);
char *buf;
const size_t bufsize = 1024 * 128;
const size_t buforder = get_order(bufsize);