Re: [PATCH] PCI: Remove pci_try_set_mwi
From: Andy Shevchenko
Date: Wed Dec 09 2020 - 06:02:04 EST
On Wed, Dec 9, 2020 at 12:59 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Wed, Dec 9, 2020 at 10:35 AM Heiner Kallweit <hkallweit1@xxxxxxxxx> wrote:
...
> > -int pci_try_set_mwi(struct pci_dev *dev)
> > -{
>
> > -#ifdef PCI_DISABLE_MWI
> > - return 0;
> > -#else
> > - return pci_set_mwi(dev);
> > -#endif
>
> This seems still valid case for PowerPC and SH.
I see that pci_set_mwi() also has the ifdeffery (I thought it's only
here), so it's fine.
> > -}
> > -EXPORT_SYMBOL(pci_try_set_mwi);
--
With Best Regards,
Andy Shevchenko