pvscsi: Don't store reference to struct pci_device.
The pci_device reference isn't used by pvscsi, and it's confusing to
keep a long held reference to a short lived object.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
diff --git a/src/hw/pvscsi.c b/src/hw/pvscsi.c
index 6911230..00ce377 100644
--- a/src/hw/pvscsi.c
+++ b/src/hw/pvscsi.c
@@ -129,7 +129,6 @@
struct pvscsi_lun_s {
struct drive_s drive;
- struct pci_device *pci;
u32 iobase;
u8 target;
u8 lun;
@@ -291,7 +290,6 @@
memset(plun, 0, sizeof(*plun));
plun->drive.type = DTYPE_PVSCSI;
plun->drive.cntl_id = pci->bdf;
- plun->pci = pci;
plun->target = target;
plun->lun = lun;
plun->iobase = iobase;