[alsa-devel] [PATCH] ALSA: cs4281: remove redundant assignment to variable val and remove a goto
Takashi Iwai
tiwai at suse.de
Fri Jul 5 12:12:50 CEST 2019
On Fri, 05 Jul 2019 11:57:04 +0200,
Colin King wrote:
>
> From: Colin Ian King <colin.king at canonical.com>
>
> The variable val is being assigned with a value that is never
> read and it is being updated later with a new value. The
> assignment is redundant and can be removed. Also remove a
> goto statement and a label and replace with a break statement.
>
> 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