diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-07-08 19:46:20 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-11 23:02:05 +0400 |
commit | 909fc3cba374560ada33a7dc3ab242d0f1d2a135 (patch) | |
tree | cd30b26dd463c0c6df2c8180399ad6ff5e5ff33c /drivers/net/wireless/iwlwifi/iwl-6000.c | |
parent | 70e3e8a6e831bf58a7eb98187c186221f01d5b64 (diff) | |
download | linux-909fc3cba374560ada33a7dc3ab242d0f1d2a135.tar.xz |
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-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 17dc33775186..57f31692894f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c @@ -277,9 +277,7 @@ static struct iwl_lib_ops iwl6000_lib = { }, .update_enhanced_txpower = iwlcore_eeprom_enhanced_txpower, }, - .temp_ops = { - .temperature = iwlagn_temperature, - }, + .temperature = iwlagn_temperature, }; static struct iwl_lib_ops iwl6030_lib = { @@ -302,9 +300,7 @@ static struct iwl_lib_ops iwl6030_lib = { }, .update_enhanced_txpower = iwlcore_eeprom_enhanced_txpower, }, - .temp_ops = { - .temperature = iwlagn_temperature, - }, + .temperature = iwlagn_temperature, }; static struct iwl_nic_ops iwl6050_nic_ops = { |