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

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

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux