PCI/VPD: Remove struct pci_vpd.flag
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 13 May 2021 21:02:01 +0000 (23:02 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 9 Aug 2021 18:43:50 +0000 (13:43 -0500)
commitfe943bd8ab75552f2773ee27c7c5ae6b48941582
tree241bb11ec8248321778e76752dbad6e96812abd2
parent91ab5d9d02a97264368eb1d72efdba2ec18cc0d4
PCI/VPD: Remove struct pci_vpd.flag

The struct pci_vpd.flag member was used only to communicate between
pci_vpd_wait() and its callers.  Remove the flag member and pass the value
directly to pci_vpd_wait() to simplify the code.

[bhelgaas: commit log]
Link: https://lore.kernel.org/r/e4ef6845-6b23-1646-28a0-d5c5a28347b6@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/vpd.c