Skip to content
Commit f4cb4100 authored by Cao jin's avatar Cao jin Committed by Alex Williamson
Browse files

vfio/pci: Drop unnecessary pcibios_err_to_errno()

As of commit d97ffe23

 ("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: default avatarCao jin <caoj.fnst@cn.fujitsu.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 5188287a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment