On Wed, 06 Nov 2024 08:53:12 +0100,
Peter Ujfalusi wrote:
>
> runtime is not used as seen with W=1 :
> sound/core/compress_offload.c: In function ʽsnd_compr_pollʼ:
> sound/core/compress_offload.c:409:35: error: variable ʽruntimeʼ set but not used [-Werror=unused-but-set-variable]
> 409 | struct snd_compr_runtime *runtime;
> | ^~~~~~~
>
> Instead of dropping the runtime, use it in the function in place of
> stream->runtime
>
> Fixes: 04177158cf98 ("ALSA: compress_offload: introduce accel operation mode")
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxxxxxxxxxxx>
Applied now. Thanks.
Takashi
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]