ALSA: asihpi - Remove useless code in hpi_meter_get_peak()
authorValentina Goncharenko <goncharenko.vp@ispras.ru>
Thu, 1 Sep 2022 10:28:14 +0000 (13:28 +0300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 1 Sep 2022 12:37:22 +0000 (14:37 +0200)
commitf51ba1148a810a16eead9f0b29bfa2a8f8ab3afb
tree90b578200e9bdc3ba906a6451b956e7d0cdd6e9e
parentac5e2fb425e1121ceef2b9d1b3ffccc195d55707
ALSA: asihpi - Remove useless code in hpi_meter_get_peak()

The hpi_meter_get_peak() function contains the expression
"hm.obj_index = hm.obj_index", which does not carry any semantic load.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 719f82d3987a ("ALSA: Add support of AudioScience ASI boards")
Signed-off-by: Valentina Goncharenko <goncharenko.vp@ispras.ru>
Link: https://lore.kernel.org/r/20220901102814.131855-1-goncharenko.vp@ispras.ru
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpifunc.c