[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240310013439.44682105@barney>
Date: Sun, 10 Mar 2024 01:34:39 +0100
From: Michael Büsch <m@...s.ch>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: linux-kernel@...r.kernel.org, Ying Sun <sunying@...c.iscas.ac.cn>,
linux-wireless@...r.kernel.org, Kalle Valo <kvalo@...nel.org>
Subject: Re: [PATCH] ssb: drop use of non-existing CONFIG_SSB_DEBUG symbol
On Sat, 9 Mar 2024 14:45:38 -0800
Randy Dunlap <rdunlap@...radead.org> wrote:
> -static inline void __cold __ssb_dma_not_implemented(struct ssb_device *dev)
> -{
> -#ifdef CONFIG_SSB_DEBUG
> - printk(KERN_ERR "SSB: BUG! Calling DMA API for "
> - "unsupported bustype %d\n", dev->bus->bustype);
> -#endif /* DEBUG */
> -}
> -
> #ifdef CONFIG_SSB_PCIHOST
> /* PCI-host wrapper driver */
> extern int ssb_pcihost_register(struct pci_driver *driver);
> diff -- a/drivers/ssb/main.c b/drivers/ssb/main.c
> --- a/drivers/ssb/main.c
> +++ b/drivers/ssb/main.c
> @@ -1144,7 +1144,6 @@ u32 ssb_dma_translation(struct ssb_devic
> return SSB_PCI_DMA;
> }
> default:
> - __ssb_dma_not_implemented(dev);
> }
> return 0;
> }
>
Acked-by: Michael Büsch <m@...s.ch>
--
Michael Büsch
https://bues.ch/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists