[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/acpi: use existing references to pci device struct within
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH] hw/acpi: use existing references to pci device struct within functions |
Date: |
Fri, 30 Jul 2021 15:30:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/29/21 3:19 PM, Ani Sinha wrote:
> There is no need to use fresh typecasts to get references to pci device
> structs
> when there is an existing reference to pci device struct. Use existing
> reference.
> Minor cleanup.
>
> Signed-off-by: Ani Sinha <ani@anisinha.ca>
> ---
> hw/acpi/pcihp.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>