[ldv-project] [PATCH] ALSA: asihpi - Remove useless code in hpi_meter_get_peak()

Takashi Iwai tiwai at suse.de
Thu Sep 1 15:38:20 MSK 2022


On Thu, 01 Sep 2022 12:28:14 +0200,
Valentina Goncharenko wrote:
> 
> 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 at ispras.ru>

Thanks, applied.


Takashi



More information about the ldv-project mailing list