Re: [PATCH] ALSA: portman2x4: remove unused portman_read_command,data functions

From: Takashi Iwai
Date: Sun Mar 19 2023 - 04:11:11 EST


On Sat, 18 Mar 2023 14:52:29 +0100,
Tom Rix wrote:
>
> clang with W=1 reports
> sound/drivers/portman2x4.c:185:18: error: unused function
> 'portman_read_command' [-Werror,-Wunused-function]
> static inline u8 portman_read_command(struct portman *pm)
> ^
> sound/drivers/portman2x4.c:195:18: error: unused function
> 'portman_read_data' [-Werror,-Wunused-function]
> static inline u8 portman_read_data(struct portman *pm)
> ^
> These static functions are not used, so remove them.
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>

Applied now, thanks.


Takashi