wifi: iwlwifi: trans: remove hw_id_str
authorJohannes Berg <johannes.berg@intel.com>
Sat, 3 May 2025 19:44:28 +0000 (22:44 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 7 May 2025 03:08:00 +0000 (06:08 +0300)
This has never been used, so remove it now.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250503224231.4623574bdbe1.I8b09dd25702e7d7e2f0b4c61390baf73878f681d@changeid
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/pcie/trans.c

index 40f7ae8f840a8ea102ab8080e2bd7e0cb761ba83..39ad2f102f0768254a68603f347163c041e852aa 100644 (file)
@@ -823,7 +823,6 @@ struct iwl_txq {
  * @hw_wfpm_id: a u32 with the device wfpm ID
  * @hw_id: a u32 with the ID of the device / sub-device.
  *     Set during transport allocation.
- * @hw_id_str: a string with info about HW ID. Set during transport allocation.
  * @sku_id: the SKU identifier (for PNVM matching)
  * @pnvm_loaded: indicates PNVM was loaded
  * @hw_rev: the revision data of the HW
@@ -887,7 +886,6 @@ struct iwl_trans {
        u32 hw_cnv_id;
        u32 hw_wfpm_id;
        u32 hw_id;
-       char hw_id_str[52];
        u32 sku_id[3];
        bool reduced_cap_sku;
        bool step_urm;
index 4e8c4e4ca06c7c6f60025ee996ce045cca362e23..de2c320a0e39c587235a80ca13cac22b720d8368 100644 (file)
@@ -3979,8 +3979,6 @@ iwl_trans_pcie_alloc(struct pci_dev *pdev,
 
        iwl_pcie_set_interrupt_capa(pdev, trans, cfg_trans);
        trans->hw_id = (pdev->device << 16) + pdev->subsystem_device;
-       snprintf(trans->hw_id_str, sizeof(trans->hw_id_str),
-                "PCI ID: 0x%04X:0x%04X", pdev->device, pdev->subsystem_device);
 
        init_waitqueue_head(&trans_pcie->sx_waitq);