From: Colin Ian King Date: Tue, 17 Oct 2017 11:53:21 +0000 (+0100) Subject: ALSA: au88x0: remove redundant assignment of variable i X-Git-Tag: v4.15-rc1~118^2~2^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=067483577bce79e11afc41a29f38d43840e623de;p=thirdparty%2Fkernel%2Flinux.git ALSA: au88x0: remove redundant assignment of variable i The assignment to variable i is redundant as it is never read because it is updated a little later on. Remove this assignment. Cleans up clang warning: Value stored to 'i' is never read Signed-off-by: Colin Ian King Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/au88x0/au88x0_core.c b/sound/pci/au88x0/au88x0_core.c index c308a4f705504..4083c8b01619f 100644 --- a/sound/pci/au88x0/au88x0_core.c +++ b/sound/pci/au88x0/au88x0_core.c @@ -2628,7 +2628,7 @@ static void vortex_spdif_init(vortex_t * vortex, int spdif_sr, int spdif_mode) else edi = 0x1ffff; } else { - i = edi = 0x800; + edi = 0x800; } /* this_04 and this_08 are the CASp4Src's (samplerate converters) */ vortex_src_setupchannel(vortex, this_04, edi, 0, 1,