diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2013-11-08 08:01:29 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-11-12 20:06:45 +0200 |
commit | 8630e3ad92e76c1b9e4cbd90eaf2eb6d58f1dd31 (patch) | |
tree | 21f4f0887c9a4b10820ef7e5a6342d5a8fe5704e /drivers/net/wireless/ath/ath10k/pci.c | |
parent | 1d34902192bf31741729184dd459eccdba5dbc83 (diff) | |
download | lwn-8630e3ad92e76c1b9e4cbd90eaf2eb6d58f1dd31.tar.gz lwn-8630e3ad92e76c1b9e4cbd90eaf2eb6d58f1dd31.zip |
ath10k: remove meaningless check
The check doesn't make much sense. If the address
were to be 0x0000 the check would fail. In this
case a 0 address isn't wrong.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/pci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index 4aa7992f1a35..62df0ddd3238 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c @@ -2307,9 +2307,6 @@ static void ath10k_pci_device_reset(struct ath10k *ar) int i; u32 val; - if (!SOC_GLOBAL_RESET_ADDRESS) - return; - ath10k_pci_reg_write32(ar, PCIE_SOC_WAKE_ADDRESS, PCIE_SOC_WAKE_V_MASK); for (i = 0; i < ATH_PCI_RESET_WAIT_MAX; i++) { |