Commit 125c5cc2 authored by Frank Lichtenheld's avatar Frank Lichtenheld Committed by David S. Miller
Browse files

b43legacy: properly fix a bogus gcc warning

Use initialized_var() to properly fix a bogus gcc warning.

Signed-off-by: default avatarStefano Brivio <>
Cc: Frank Lichtenheld <>
Signed-off-by: default avatarJohn W. Linville <>
parent 013978b6
......@@ -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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment