hw/pci/pcie: Replace PCI_DEVICE() casts with existing variable
commit6a1e073378353eb6ac0565e0dc649b3db76ed5dc
authorJulia Suvorova <jusual@redhat.com>
Mon, 27 Apr 2020 18:24:40 +0000 (27 20:24 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 May 2020 14:25:02 +0000 (4 10:25 -0400)
tree4dbae88d4198ad5857ad4e427b04a5cf9645b4d1
parent0501e1aa1d32a6e02dd06a79bba97fbe9d557cb5
hw/pci/pcie: Replace PCI_DEVICE() casts with existing variable

A little cleanup is possible because of hotplug_pdev introduction.

Signed-off-by: Julia Suvorova <jusual@redhat.com>
Message-Id: <20200427182440.92433-3-jusual@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
hw/pci/pcie.c