ia64/linux-2.6.18-xen.hg

changeset 635:ff6ba016eed2

msi: Remove unnecessary warning information
From: Haitao Shan <haitao.shan@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Aug 08 10:57:41 2008 +0100 (2008-08-08)
parents 87413eba04ab
children 2807d531d025
files drivers/xen/pciback/pci_stub.c
line diff
     1.1 --- a/drivers/xen/pciback/pci_stub.c	Fri Aug 08 10:54:59 2008 +0100
     1.2 +++ b/drivers/xen/pciback/pci_stub.c	Fri Aug 08 10:57:41 2008 +0100
     1.3 @@ -813,11 +813,10 @@ int pciback_get_owner(struct pci_dev *de
     1.4  
     1.5  	psdev = pcistub_device_find(pci_domain_nr(dev->bus), dev->bus->number,
     1.6  			PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
     1.7 -	/* XXX will other domain has pciback support ??? */
     1.8 -	if (!psdev || !psdev->pdev) {
     1.9 -		printk(KERN_WARNING "no ownder\n");
    1.10 +
    1.11 +	if (!psdev || !psdev->pdev)
    1.12  		return -1;
    1.13 -	}
    1.14 +
    1.15  	return psdev->pdev->xdev->otherend_id;
    1.16  }
    1.17  #endif