iwlegacy: remove temp_ops
Remove unneeded structure and cleanup temperature calibration routines a bit. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
93b7654ec5
commit
527901d0ae
@@ -1678,7 +1678,7 @@ il4965_is_temp_calib_needed(struct il_priv *il)
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
il4965_temperature_calib(struct il_priv *il)
|
||||
{
|
||||
s32 temp;
|
||||
@@ -1910,9 +1910,6 @@ static struct il_lib_ops il4965_lib = {
|
||||
},
|
||||
.send_tx_power = il4965_send_tx_power,
|
||||
.update_chain_flags = il4965_update_chain_flags,
|
||||
.temp_ops = {
|
||||
.temperature = il4965_temperature_calib,
|
||||
},
|
||||
};
|
||||
|
||||
static const struct il_legacy_ops il4965_legacy_ops = {
|
||||
|
Reference in New Issue
Block a user