summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-1000.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-07-08 17:46:20 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-07-11 21:02:05 +0200
commit909fc3cba374560ada33a7dc3ab242d0f1d2a135 (patch)
treecd30b26dd463c0c6df2c8180399ad6ff5e5ff33c /drivers/net/wireless/iwlwifi/iwl-1000.c
parentiwlagn: remove indirection for eeprom_query_addr (diff)
downloadlinux-909fc3cba374560ada33a7dc3ab242d0f1d2a135.tar.xz
linux-909fc3cba374560ada33a7dc3ab242d0f1d2a135.zip
iwlagn: remove double level temperature indirect call
No need to do double level indirect call after driver split no functional changes Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-1000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-1000.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-1000.c b/drivers/net/wireless/iwlwifi/iwl-1000.c
index a558df953dfd..7795855ff8fe 100644
--- a/drivers/net/wireless/iwlwifi/iwl-1000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-1000.c
@@ -183,9 +183,7 @@ static struct iwl_lib_ops iwl1000_lib = {
EEPROM_REGULATORY_BAND_NO_HT40,
},
},
- .temp_ops = {
- .temperature = iwlagn_temperature,
- },
+ .temperature = iwlagn_temperature,
};
static const struct iwl_ops iwl1000_ops = {