ath10k: remove un ar_pci->cacheline_sz field
authorKalle Valo <kvalo@qca.qualcomm.com>
Fri, 2 Aug 2013 07:56:01 +0000 (10:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sun, 1 Sep 2013 06:38:18 +0000 (09:38 +0300)
cacheline_sz is not used anywhere and can be removed.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c
drivers/net/wireless/ath/ath10k/pci.h

index ee095bdb2c334acefb4306b67c0f1f97a09972a0..551fe8c1ee98f396e164287982b7da7bbbac86e1 100644 (file)
@@ -2394,8 +2394,6 @@ static int ath10k_pci_probe(struct pci_dev *pdev,
 
        spin_lock_init(&ar_pci->ce_lock);
 
-       ar_pci->cacheline_sz = dma_get_cache_alignment();
-
        ret = ath10k_core_register(ar);
        if (ret) {
                ath10k_err("could not register driver core (%d)\n", ret);
index 2e64931186c162dcd8423cb221c412f6df9f81cd..50f3e7b4f27f12cd9ce47a6b9d0a54baf7b3c9bc 100644 (file)
@@ -190,7 +190,6 @@ struct ath10k_pci {
        struct device *dev;
        struct ath10k *ar;
        void __iomem *mem;
-       int cacheline_sz;
 
        DECLARE_BITMAP(features, ATH10K_PCI_FEATURE_COUNT);