vfio/pci: Drop unnecessary pcibios_err_to_errno()
authorCao jin <caoj.fnst@cn.fujitsu.com>
Fri, 18 Nov 2016 11:47:38 +0000 (19:47 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 18 Nov 2016 18:06:42 +0000 (11:06 -0700)
commitf4cb410019388e450388ab001bb639b018558b71
treea5832d1390bc64c218288daa0ac3c3f333a5a966
parent5188287a860b6ec5950d5156d63056156f59ee3b
vfio/pci: Drop unnecessary pcibios_err_to_errno()

As of commit d97ffe236894 ("PCI: Fix return value from
pci_user_{read,write}_config_*()") it's unnecessary to call
pcibios_err_to_errno() to fixup the return value from these functions.

pcibios_err_to_errno() already does simple passthrough of -errno values,
therefore no functional change is expected.

[aw: changelog]
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci_config.c