Re: [PATCH] hw/acpi: use existing references to pci device struct within functions

2021-07-30 Thread Philippe Mathieu-Daudé
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 > --- > hw/acpi/pcihp.c | 6 +++--- > 1 f

[PATCH] hw/acpi: use existing references to pci device struct within functions

2021-07-29 Thread Ani Sinha
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 --- hw/acpi/pcihp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Make and mak