[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-5.1 3/3] hw: Remove unnecessary DEVICE() cast
From: |
John Snow |
Subject: |
Re: [PATCH-for-5.1 3/3] hw: Remove unnecessary DEVICE() cast |
Date: |
Fri, 17 Apr 2020 15:45:52 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 4/12/20 5:09 PM, Philippe Mathieu-Daudé wrote:
> diff --git a/hw/ide/piix.c b/hw/ide/piix.c
> index 3b2de4c312..b402a93636 100644
> --- a/hw/ide/piix.c
> +++ b/hw/ide/piix.c
> @@ -193,7 +193,7 @@ int pci_piix3_xen_ide_unplug(DeviceState *dev, bool aux)
> blk_unref(blk);
> }
> }
> - qdev_reset_all(DEVICE(dev));
> + qdev_reset_all(dev);
> return 0;
> }
>
Acked-by: John Snow <address@hidden>
- Re: [PATCH-for-5.1 1/3] target: Remove unnecessary CPU() cast, (continued)