]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: cleanup unused variable in trans.h
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 29 Dec 2024 14:44:39 +0000 (16:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:26:41 +0000 (15:26 +0100)
Remove unused fields from the transport API.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241229164246.1d04ce18a0ec.Ibfac364163b55b52196d30ff2b43945c5aa804a9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c

index 0a9881c3291efec3f98155aa718aafe4d4767381..45c5245136a7bc237c466a921ba8b46e636056b3 100644 (file)
@@ -633,8 +633,6 @@ struct iwl_pc_data {
  * @n_dest_reg: num of reg_ops in %dbg_dest_tlv
  * @rec_on: true iff there is a fw debug recording currently active
  * @dest_tlv: points to the destination TLV for debug
- * @conf_tlv: array of pointers to configuration TLVs for debug
- * @trigger_tlv: array of pointers to triggers TLVs for debug
  * @lmac_error_event_table: addrs of lmacs error tables
  * @umac_error_event_table: addr of umac error table
  * @tcm_error_event_table: address(es) of TCM error table(s)
@@ -669,8 +667,6 @@ struct iwl_trans_debug {
        bool rec_on;
 
        const struct iwl_fw_dbg_dest_tlv_v1 *dest_tlv;
-       const struct iwl_fw_dbg_conf_tlv *conf_tlv[FW_DBG_CONF_MAX];
-       struct iwl_fw_dbg_trigger_tlv * const *trigger_tlv;
 
        u32 lmac_error_event_table[2];
        u32 umac_error_event_table;
index 7250c85fb6e6c69c0ca583a496b381b2bcb52d7c..f5ff700d06650e6198f3758c07a1af2a8e4d49a0 100644 (file)
@@ -1479,9 +1479,6 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg,
        trans->rx_mpdu_cmd = REPLY_RX_MPDU_CMD;
        trans->dbg.dest_tlv = mvm->fw->dbg.dest_tlv;
        trans->dbg.n_dest_reg = mvm->fw->dbg.n_dest_reg;
-       memcpy(trans->dbg.conf_tlv, mvm->fw->dbg.conf_tlv,
-              sizeof(trans->dbg.conf_tlv));
-       trans->dbg.trigger_tlv = mvm->fw->dbg.trigger_tlv;
 
        trans->iml = mvm->fw->iml;
        trans->iml_len = mvm->fw->iml_len;