vfio/pci: Use vbasedev local variable in vfio_realize()
commit0d570a2572395cca79b83002e589aeb24fcd1732
authorEric Auger <eric.auger@redhat.com>
Mon, 2 May 2022 09:42:22 +0000 (2 02:42 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 6 May 2022 15:06:50 +0000 (6 09:06 -0600)
treea7313d632f2b54ed347df94f2572d45eabf135cd
parent9d38ffc5d82839cdc9effb2e9ee84a6941a25e1a
vfio/pci: Use vbasedev local variable in vfio_realize()

Using a VFIODevice handle local variable to improve the code readability.

no functional change intended

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Link: https://lore.kernel.org/r/20220502094223.36384-3-yi.l.liu@intel.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c