qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 04/13] hw/ide: Extract IDEBus assignment into bmdma_init()


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 04/13] hw/ide: Extract IDEBus assignment into bmdma_init()
Date: Sun, 23 Apr 2023 19:36:20 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 22/4/23 17:07, Bernhard Beschow wrote:
Every invocation of bmdma_init() is followed by `d->bmdma[i].bus = &d->bus[i]`.
Resolve this redundancy by extracting it into bmdma_init().

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
  hw/ide/cmd646.c  | 1 -
  hw/ide/pci.c     | 1 +
  hw/ide/piix.c    | 1 -
  hw/ide/sii3112.c | 1 -
  hw/ide/via.c     | 1 -
  5 files changed, 1 insertion(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]