]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: remove redundant assignment to variable timeout
authorColin Ian King <colin.king@canonical.com>
Sat, 8 Feb 2020 22:27:56 +0000 (22:27 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2020 07:29:46 +0000 (08:29 +0100)
commita5123b8761ae24a82e8c8ee05e60ccc2af1da187
tree029b9f05436332d9ae2d1aa1c9ba8f76728a40c4
parent9b76e7e5bf8d8c9539d20b25216d2c91e2f18c91
ALSA: hda: remove redundant assignment to variable timeout

Variable timeout is being assigned with the value 200 that is never
read, it is assigned a new value in a following do-loop. The assignment
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200208222756.37707-1-colin.king@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_controller.c