|
@@ -1338,15 +1338,12 @@ il4965_accumulative_stats(struct il_priv *il, __le32 * stats)
|
|
u32 *accum_stats;
|
|
u32 *accum_stats;
|
|
u32 *delta, *max_delta;
|
|
u32 *delta, *max_delta;
|
|
struct stats_general_common *general, *accum_general;
|
|
struct stats_general_common *general, *accum_general;
|
|
- struct stats_tx *tx, *accum_tx;
|
|
|
|
|
|
|
|
prev_stats = (__le32 *) &il->_4965.stats;
|
|
prev_stats = (__le32 *) &il->_4965.stats;
|
|
accum_stats = (u32 *) &il->_4965.accum_stats;
|
|
accum_stats = (u32 *) &il->_4965.accum_stats;
|
|
size = sizeof(struct il_notif_stats);
|
|
size = sizeof(struct il_notif_stats);
|
|
general = &il->_4965.stats.general.common;
|
|
general = &il->_4965.stats.general.common;
|
|
accum_general = &il->_4965.accum_stats.general.common;
|
|
accum_general = &il->_4965.accum_stats.general.common;
|
|
- tx = &il->_4965.stats.tx;
|
|
|
|
- accum_tx = &il->_4965.accum_stats.tx;
|
|
|
|
delta = (u32 *) &il->_4965.delta_stats;
|
|
delta = (u32 *) &il->_4965.delta_stats;
|
|
max_delta = (u32 *) &il->_4965.max_delta;
|
|
max_delta = (u32 *) &il->_4965.max_delta;
|
|
|
|
|
|
@@ -4784,7 +4781,6 @@ static void
|
|
il4965_ucode_callback(const struct firmware *ucode_raw, void *context)
|
|
il4965_ucode_callback(const struct firmware *ucode_raw, void *context)
|
|
{
|
|
{
|
|
struct il_priv *il = context;
|
|
struct il_priv *il = context;
|
|
- struct il_ucode_header *ucode;
|
|
|
|
int err;
|
|
int err;
|
|
struct il4965_firmware_pieces pieces;
|
|
struct il4965_firmware_pieces pieces;
|
|
const unsigned int api_max = il->cfg->ucode_api_max;
|
|
const unsigned int api_max = il->cfg->ucode_api_max;
|
|
@@ -4814,8 +4810,6 @@ il4965_ucode_callback(const struct firmware *ucode_raw, void *context)
|
|
}
|
|
}
|
|
|
|
|
|
/* Data from ucode file: header followed by uCode images */
|
|
/* Data from ucode file: header followed by uCode images */
|
|
- ucode = (struct il_ucode_header *)ucode_raw->data;
|
|
|
|
-
|
|
|
|
err = il4965_load_firmware(il, ucode_raw, &pieces);
|
|
err = il4965_load_firmware(il, ucode_raw, &pieces);
|
|
|
|
|
|
if (err)
|
|
if (err)
|