mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 10:11:52 -04:00
wifi: iwlwifi: trans: remove hw_id_str
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
This commit is contained in:
committed by
Miri Korenblit
parent
a94d018996
commit
e7d3f56af4
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user