[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] hw/audio/ac97: Remove unneeded local variables
From: |
Peter Maydell |
Subject: |
Re: [PATCH 3/3] hw/audio/ac97: Remove unneeded local variables |
Date: |
Fri, 22 Apr 2022 14:56:16 +0100 |
On Fri, 22 Apr 2022 at 14:42, BALATON Zoltan <balaton@eik.bme.hu> wrote:
>
> 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>
> ---
> hw/audio/ac97.c | 102 +++++++++++++++++++++++-------------------------
> 1 file changed, 49 insertions(+), 53 deletions(-)
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM