diff options
author | Frank Lichtenheld <frank@lichtenheld.de> | 2007-11-24 21:11:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:05:02 -0800 |
commit | 125c5cc2c8c1fab6a6a1d8a07f7073b240e6d325 (patch) | |
tree | 7e58cb6de1dcbd5f08c0cac7f64670ea593c3a43 /drivers/net/wireless/b43legacy/debugfs.c | |
parent | 013978b688d2a27af3ab55ca739e8c8ac7254870 (diff) | |
download | op-kernel-dev-125c5cc2c8c1fab6a6a1d8a07f7073b240e6d325.zip op-kernel-dev-125c5cc2c8c1fab6a6a1d8a07f7073b240e6d325.tar.gz |
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.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 619b453..03ce082 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); |