diff mbox series

PCI: Remove unused HAVE_PCI_SET_MWI

Message ID 03f20cac-708d-7897-c7c7-cb4e63cfd991@gmail.com
State New
Headers show
Series PCI: Remove unused HAVE_PCI_SET_MWI | expand

Commit Message

Heiner Kallweit Dec. 8, 2020, 12:16 p.m. UTC
Remove unused HAVE_PCI_SET_MWI.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 include/linux/pci.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Bjorn Helgaas Dec. 8, 2020, 10 p.m. UTC | #1
On Tue, Dec 08, 2020 at 01:16:22PM +0100, Heiner Kallweit wrote:
> Remove unused HAVE_PCI_SET_MWI.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

Applied to pci/misc for v5.11, thanks!

> ---
>  include/linux/pci.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/pci.h b/include/linux/pci.h
> index e007bc3e8..de75f6a4d 100644
> --- a/include/linux/pci.h
> +++ b/include/linux/pci.h
> @@ -1191,7 +1191,6 @@ void pci_clear_master(struct pci_dev *dev);
>  
>  int pci_set_pcie_reset_state(struct pci_dev *dev, enum pcie_reset_state state);
>  int pci_set_cacheline_size(struct pci_dev *dev);
> -#define HAVE_PCI_SET_MWI
>  int __must_check pci_set_mwi(struct pci_dev *dev);
>  int __must_check pcim_set_mwi(struct pci_dev *dev);
>  int pci_try_set_mwi(struct pci_dev *dev);
> -- 
> 2.29.2
>
diff mbox series

Patch

diff --git a/include/linux/pci.h b/include/linux/pci.h
index e007bc3e8..de75f6a4d 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1191,7 +1191,6 @@  void pci_clear_master(struct pci_dev *dev);
 
 int pci_set_pcie_reset_state(struct pci_dev *dev, enum pcie_reset_state state);
 int pci_set_cacheline_size(struct pci_dev *dev);
-#define HAVE_PCI_SET_MWI
 int __must_check pci_set_mwi(struct pci_dev *dev);
 int __must_check pcim_set_mwi(struct pci_dev *dev);
 int pci_try_set_mwi(struct pci_dev *dev);