audio/via-ac97: Simplify code and set user_creatable to false
commita250e1c6e775a2f14819a4412fed77a48253a473
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 2 Jan 2021 10:43:35 +0000 (2 11:43 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 4 Jan 2021 22:24:44 +0000 (4 23:24 +0100)
tree4b3980f87acfe0362b777c8e05d216239352fe4a
parent657fae258f98000ced6d50a4490a922a207e35f3
audio/via-ac97: Simplify code and set user_creatable to false

Remove some unneded, empty code and set user_creatable to false
(besides being not implemented yet, so does nothing anyway) it's also
normally part of VIA south bridge chips so no need to confuse users
showing them these devices.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <c7a5b1ee4c02e304ff70ebfbf269544f3c1f8412.1609584216.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/audio/via-ac97.c