Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote: > CONFIG_SSB_DEBUG is used in one header file and nowhere else, so > remove it and the now-empty inline function that contained it. Also > remove the call to the empty inline function. The empty "default:" > case is kept to prevent 2 compiler warnings: > > drivers/ssb/main.c:1133:9: warning: enumeration value 'SSB_BUSTYPE_PCMCIA' not handled in switch [-Wswitch] > drivers/ssb/main.c:1133:9: warning: enumeration value 'SSB_BUSTYPE_SDIO' not handled in switch [-Wswitch] > > Reported-by: Ying Sun <sunying@xxxxxxxxxxxxxxxx> > Link: https://lore.kernel.org/lkml/4e8525fe.607e2.18a8ddfdce8.Coremail.sunying@xxxxxxxxxxxxxxxx/ > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> > Cc: Michael Büsch <m@xxxxxxx> > Cc: linux-wireless@xxxxxxxxxxxxxxx > Cc: Kalle Valo <kvalo@xxxxxxxxxx> > Acked-by: Michael Büsch <m@xxxxxxx> Patch applied to wireless-next.git, thanks. e27b02e23a70 ssb: drop use of non-existing CONFIG_SSB_DEBUG symbol -- https://patchwork.kernel.org/project/linux-wireless/patch/20240309224540.22682-1-rdunlap@xxxxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches