[alsa-devel] [PATCH] ALSA: hda/hdmi: remove redundant assignment to variable pcm_idx

Takashi Iwai tiwai at suse.de
Thu Sep 5 19:47:16 CEST 2019


On Thu, 05 Sep 2019 17:48:26 +0200,
Colin King wrote:
> 
> From: Colin Ian King <colin.king at canonical.com>
> 
> Variable pcm_idx is being initialized with a value that is never read
> and is being re-assigned immediately afterwards. The assignment is
> redundant and hence can be removed.
> 
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king at canonical.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list