Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290774
b: refs/heads/master
c: d7b6b6a
h: refs/heads/master
v: v3
  • Loading branch information
Greg Dietsche authored and John W. Linville committed Feb 29, 2012
1 parent f754905 commit 7e76bd8
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 33 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08db1ab7fa4cab08c1e24f373439d472d054a921
refs/heads/master: d7b6b6a64301d6b0c632c8b9563a27aeeb09e967
12 changes: 0 additions & 12 deletions trunk/drivers/net/wireless/iwlegacy/4965-calib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*****************************************************************************/
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/wireless/iwlegacy/4965-mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -6347,7 +6347,6 @@ il4965_init_drv(struct il_priv *il)
static void
il4965_uninit_drv(struct il_priv *il)
{
il4965_calib_free_results(il);
il_free_geos(il);
il_free_channel_map(il);
kfree(il->scan_cmd);
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/wireless/iwlegacy/4965.h
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,6 @@ void il4965_chain_noise_calibration(struct il_priv *il, void *stat_resp);
void il4965_sensitivity_calibration(struct il_priv *il, void *resp);
void il4965_init_sensitivity(struct il_priv *il);
void il4965_reset_run_time_calib(struct il_priv *il);
void il4965_calib_free_results(struct il_priv *il);

/* Debug */
#ifdef CONFIG_IWLEGACY_DEBUGFS
Expand Down
18 changes: 0 additions & 18 deletions trunk/drivers/net/wireless/iwlegacy/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -961,21 +961,6 @@ enum il4965_calib_enabled_state {
IL_CALIB_ENABLED = 1,
};

/*
* enum il_calib
* defines the order in which results of initial calibrations
* should be sent to the runtime uCode
*/
enum il_calib {
IL_CALIB_MAX,
};

/* Opaque calibration results */
struct il_calib_result {
void *buf;
size_t buf_len;
};

enum ucode_type {
UCODE_NONE = 0,
UCODE_INIT,
Expand Down Expand Up @@ -1195,9 +1180,6 @@ struct il_priv {
s32 temperature; /* degrees Kelvin */
s32 last_temperature;

/* init calibration results */
struct il_calib_result calib_results[IL_CALIB_MAX];

/* Scan related variables */
unsigned long scan_start;
unsigned long scan_start_tsf;
Expand Down

0 comments on commit 7e76bd8

Please sign in to comment.