diff options
author | Greg Dietsche <Gregory.Dietsche@cuw.edu> | 2012-02-27 12:25:32 -0600 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-29 14:14:55 -0500 |
commit | d7b6b6a64301d6b0c632c8b9563a27aeeb09e967 (patch) | |
tree | 6d9db39fc9e70199b52956310cfcb635a00cbfef /drivers/net/wireless/iwlegacy/4965-calib.c | |
parent | 08db1ab7fa4cab08c1e24f373439d472d054a921 (diff) | |
download | op-kernel-dev-d7b6b6a64301d6b0c632c8b9563a27aeeb09e967.zip op-kernel-dev-d7b6b6a64301d6b0c632c8b9563a27aeeb09e967.tar.gz |
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>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/4965-calib.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965-calib.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965-calib.c b/drivers/net/wireless/iwlegacy/4965-calib.c index 47c20e3..e78bdef 100644 --- a/drivers/net/wireless/iwlegacy/4965-calib.c +++ b/drivers/net/wireless/iwlegacy/4965-calib.c @@ -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 *****************************************************************************/ |