aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c5
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index c1482852ea41..663dc83be501 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -3093,11 +3093,6 @@ static ssize_t store_power_level(struct device *d,
3093 3093
3094 mutex_lock(&priv->mutex); 3094 mutex_lock(&priv->mutex);
3095 3095
3096 if (!iwl_is_ready(priv)) {
3097 ret = -EAGAIN;
3098 goto out;
3099 }
3100
3101 ret = strict_strtoul(buf, 10, &mode); 3096 ret = strict_strtoul(buf, 10, &mode);
3102 if (ret) 3097 if (ret)
3103 goto out; 3098 goto out;
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 16ecf03a1557..bd59ed4dae27 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -4550,11 +4550,6 @@ static ssize_t store_power_level(struct device *d,
4550 4550
4551 mutex_lock(&priv->mutex); 4551 mutex_lock(&priv->mutex);
4552 4552
4553 if (!iwl_is_ready(priv)) {
4554 ret = -EAGAIN;
4555 goto out;
4556 }
4557
4558 ret = strict_strtoul(buf, 10, &mode); 4553 ret = strict_strtoul(buf, 10, &mode);
4559 if (ret) 4554 if (ret)
4560 goto out; 4555 goto out;