Tom Rix <trix@xxxxxxxxxx> wrote: > clang with W=1 reports > drivers/bcma/driver_mips.c:49:19: error: unused function > 'mips_read32' [-Werror,-Wunused-function] > static inline u32 mips_read32(struct bcma_drv_mips *mcore, > ^ > This function is not used so remove it. > > Signed-off-by: Tom Rix <trix@xxxxxxxxxx> > Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx> Patch applied to wireless-next.git, thanks. 21898a40b2f8 bcma: remove unused mips_read32 function -- https://patchwork.kernel.org/project/linux-wireless/patch/20230324190647.2654293-1-trix@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches