hw/audio/ac97: Remove unneeded local variables
commitdba2b2941ca2ebd5275b3b2c6e72678f98f83a8a
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 23 Apr 2022 09:36:57 +0000 (23 11:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 May 2022 19:26:35 +0000 (25 21:26 +0200)
treeef4f83d792029e83d20e462332f716c40cfd2971
parentdafea9e2868a5349bb0f1650dd18fa1aac806ee4
hw/audio/ac97: Remove unneeded local variables

Several functions have a local variable that is just a copy of one of
the function parameters. This is unneeded complication so just get rid
of these.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <d959aa0b267eb139a994e41ca0b7ba87d9cef7a9.1650706617.git.balaton@eik.bme.hu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/audio/ac97.c