git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: Remove uninitialized_var() usage
[sfrench/cifs-2.6.git]
/
drivers
/
net
/
wireless
/
ath
/
ath10k
/
core.c
diff --git
a/drivers/net/wireless/ath/ath10k/core.c
b/drivers/net/wireless/ath/ath10k/core.c
index 22b6937ac225d53f80632fdff311bbc2f18a541a..340ce327ac14858cf855deadb858b37e40499a47 100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/core.c
+++ b/
drivers/net/wireless/ath/ath10k/core.c
@@
-2240,7
+2240,7
@@
static int ath10k_init_uart(struct ath10k *ar)
static int ath10k_init_hw_params(struct ath10k *ar)
{
- const struct ath10k_hw_params *
uninitialized_var(hw_params)
;
+ const struct ath10k_hw_params *
hw_params
;
int i;
for (i = 0; i < ARRAY_SIZE(ath10k_hw_params_list); i++) {