Commit a18b5ed8 authored by Kalle Valo's avatar Kalle Valo

ath10k: remove un ar_pci->cacheline_sz field

cacheline_sz is not used anywhere and can be removed.
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent d21fb959
...@@ -2394,8 +2394,6 @@ static int ath10k_pci_probe(struct pci_dev *pdev, ...@@ -2394,8 +2394,6 @@ static int ath10k_pci_probe(struct pci_dev *pdev,
spin_lock_init(&ar_pci->ce_lock); spin_lock_init(&ar_pci->ce_lock);
ar_pci->cacheline_sz = dma_get_cache_alignment();
ret = ath10k_core_register(ar); ret = ath10k_core_register(ar);
if (ret) { if (ret) {
ath10k_err("could not register driver core (%d)\n", ret); ath10k_err("could not register driver core (%d)\n", ret);
......
...@@ -190,7 +190,6 @@ struct ath10k_pci { ...@@ -190,7 +190,6 @@ struct ath10k_pci {
struct device *dev; struct device *dev;
struct ath10k *ar; struct ath10k *ar;
void __iomem *mem; void __iomem *mem;
int cacheline_sz;
DECLARE_BITMAP(features, ATH10K_PCI_FEATURE_COUNT); DECLARE_BITMAP(features, ATH10K_PCI_FEATURE_COUNT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment