Search Linux Wireless

Re: [PATCH] ssb: drop use of non-existing CONFIG_SSB_DEBUG symbol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat,  9 Mar 2024 14:45:38 -0800
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> 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@xxxxxxx>


-- 
Michael Büsch
https://bues.ch/

Attachment: pgp6r1_Yj7M50.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux