diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-02-28 16:42:10 +0100 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-04-25 22:48:37 +0300 |
commit | b0fa818e6c5f48bfbc3dfe1317754390b88446c1 (patch) | |
tree | d6637382bd15d46114fdce736e00715ccdb7cc7b /drivers/net/wireless/intel | |
parent | 0fc9bf7add0f2d1a370c688dabc9846ad187c044 (diff) | |
download | talos-op-linux-b0fa818e6c5f48bfbc3dfe1317754390b88446c1.tar.gz talos-op-linux-b0fa818e6c5f48bfbc3dfe1317754390b88446c1.zip |
iwlwifi: pcie: remove superfluous trans->dev assignment
This struct member is already assigned in the previous
call to iwl_trans_alloc(), so assigning the same value
again is superfluous - remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c index 5120fbcfcaf2..c551ba8809db 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c @@ -2976,7 +2976,6 @@ struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev, * PCI Tx retries from interfering with C3 CPU state */ pci_write_config_byte(pdev, PCI_CFG_RETRY_TIMEOUT, 0x00); - trans->dev = &pdev->dev; trans_pcie->pci_dev = pdev; iwl_disable_interrupts(trans); |