diff options
author | Cai Huoqing <caihuoqing@baidu.com> | 2021-10-18 20:41:09 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-10-18 10:53:14 -0500 |
commit | 88dee3b0efe4b769fb22ce2e963aabae403e6801 (patch) | |
tree | 2c9eb5b7c9cf94dadd2fa858d2fc86525a6c4ff5 /include/linux/pci.h | |
parent | e98754233c58bfe7cad67ed4b7f3980d7e0d731d (diff) | |
download | lwn-88dee3b0efe4b769fb22ce2e963aabae403e6801.tar.gz lwn-88dee3b0efe4b769fb22ce2e963aabae403e6801.zip |
PCI: Remove unused pci_pool wrappers
The pci_pool users have been converted to dma_pool. Remove the unused
pci_pool wrappers.
Link: https://lore.kernel.org/r/20211018124110.214-1-caihuoqing@baidu.com
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index cd8aa6fce204..2ae9dd7f975f 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1498,19 +1498,8 @@ int pci_set_vga_state(struct pci_dev *pdev, bool decode, #define PCI_IRQ_ALL_TYPES \ (PCI_IRQ_LEGACY | PCI_IRQ_MSI | PCI_IRQ_MSIX) -/* kmem_cache style wrapper around pci_alloc_consistent() */ - #include <linux/dmapool.h> -#define pci_pool dma_pool -#define pci_pool_create(name, pdev, size, align, allocation) \ - dma_pool_create(name, &pdev->dev, size, align, allocation) -#define pci_pool_destroy(pool) dma_pool_destroy(pool) -#define pci_pool_alloc(pool, flags, handle) dma_pool_alloc(pool, flags, handle) -#define pci_pool_zalloc(pool, flags, handle) \ - dma_pool_zalloc(pool, flags, handle) -#define pci_pool_free(pool, vaddr, addr) dma_pool_free(pool, vaddr, addr) - struct msix_entry { u32 vector; /* Kernel uses to write allocated vector */ u16 entry; /* Driver uses to specify entry, OS writes */ |