]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI/IOV: Factor out sriov_add_vfs()
authorSebastian Ott <sebott@linux.ibm.com>
Fri, 21 Dec 2018 14:14:18 +0000 (15:14 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 2 Jan 2019 01:03:51 +0000 (19:03 -0600)
commit18f9e9d150fccfa747875df6f0a9f606740762b3
treefe068d529e5d7058241f561146e1581365451e1e
parent651022382c7f8da46cb4872a545ee1da6d097d2a
PCI/IOV: Factor out sriov_add_vfs()

Provide sriov_add_vfs() as a wrapper to scan for VFs that cleans up after
itself.  This is just a code simplification.  No functional change.

Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/pci/iov.c