aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index e14e1333535f..76186f85c131 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -2139,7 +2139,7 @@ static int iwl3945_update_power_cmd(struct iwl3945_priv *priv,
2139 2139
2140static int iwl3945_send_power_mode(struct iwl3945_priv *priv, u32 mode) 2140static int iwl3945_send_power_mode(struct iwl3945_priv *priv, u32 mode)
2141{ 2141{
2142 u32 final_mode = mode; 2142 u32 uninitialized_var(final_mode);
2143 int rc; 2143 int rc;
2144 struct iwl3945_powertable_cmd cmd; 2144 struct iwl3945_powertable_cmd cmd;
2145 2145
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 24dc40f2f4c8..02433930f7e2 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -2218,7 +2218,7 @@ static int iwl4965_update_power_cmd(struct iwl4965_priv *priv,
2218 2218
2219static int iwl4965_send_power_mode(struct iwl4965_priv *priv, u32 mode) 2219static int iwl4965_send_power_mode(struct iwl4965_priv *priv, u32 mode)
2220{ 2220{
2221 u32 final_mode = mode; 2221 u32 uninitialized_var(final_mode);
2222 int rc; 2222 int rc;
2223 struct iwl4965_powertable_cmd cmd; 2223 struct iwl4965_powertable_cmd cmd;
2224 2224