[alsa-devel] [PATCH] ALSA: control: remove useless assignment in .info callback of PCM chmap element

Takashi Iwai tiwai at suse.de
Sat Dec 14 16:39:50 CET 2019


On Sat, 14 Dec 2019 14:13:51 +0100,
Takashi Sakamoto wrote:
> 
> Control elements for PCM chmap return information to userspace abount
> the maximum number of available PCM channels as the number of values
> in the element.
> 
> In current implementation the number is once initialized to zero, then
> assigned to. This is useless and this commit fixes it.
> 
> Fixes: 2d3391ec0ecc ("ALSA: PCM: channel mapping API implementation")
> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list