Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6337a239 authored by Yang Zhang's avatar Yang Zhang Committed by Konrad Rzeszutek Wilk
Browse files

x86/xen : Fix the wrong check in pciback



Fix the wrong check in pciback.

Signed-off-by: default avatarYang Zhang <yang.z.zhang@Intel.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 30d4b180
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ static inline int xen_pcibk_add_pci_dev(struct xen_pcibk_device *pdev,
static inline void xen_pcibk_release_pci_dev(struct xen_pcibk_device *pdev,
					     struct pci_dev *dev)
{
	if (xen_pcibk_backend && xen_pcibk_backend->free)
	if (xen_pcibk_backend && xen_pcibk_backend->release)
		return xen_pcibk_backend->release(pdev, dev);
}