aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-04-13 06:14:52 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-04-22 13:21:23 -0400
commit4cd2bf76a40a148bc92f4a3d17bc7f94277b0410 (patch)
tree5748b305933dff85a98d1f356da44d6f94da4272 /drivers/net/wireless/iwlwifi/iwl-dev.h
parentdbf28e21ca391110e90ccad05dda79d2e2f60e0e (diff)
iwlagn: remove hw_ready variable
This variable is only ever checked right after the function that sets it, but the same function will also return the status, so we can pass it through instead of checking hw_ready later. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 857eb0e9e397..197fa742f79a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1503,7 +1503,6 @@ struct iwl_priv {
1503 struct timer_list statistics_periodic; 1503 struct timer_list statistics_periodic;
1504 struct timer_list ucode_trace; 1504 struct timer_list ucode_trace;
1505 struct timer_list watchdog; 1505 struct timer_list watchdog;
1506 bool hw_ready;
1507 1506
1508 struct iwl_event_log event_log; 1507 struct iwl_event_log event_log;
1509 1508