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 <shen...@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é <phi...@linaro.org>


Reply via email to