iwlegacy: remove enum iw_calib and related code
Remove the enum il_calib. It defined one identifier: IL_CALIB_MAX. Remove the function il4965_calib_free_results. It was doing nothing because IL_CALIB_MAX is zero. Next, remove calib_results from the il_priv structure and also remove the associated return type/struct il_calib_result. Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
08db1ab7fa
commit
d7b6b6a643
@@ -79,18 +79,6 @@ struct stats_general_data {
|
||||
u32 beacon_energy_c;
|
||||
};
|
||||
|
||||
void
|
||||
il4965_calib_free_results(struct il_priv *il)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < IL_CALIB_MAX; i++) {
|
||||
kfree(il->calib_results[i].buf);
|
||||
il->calib_results[i].buf = NULL;
|
||||
il->calib_results[i].buf_len = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* RUNTIME calibrations framework
|
||||
*****************************************************************************/
|
||||
|
Reference in New Issue
Block a user