From: Simon Horman Subject: [patch 06/16] xend: pass-through: Remove PciDeviceNotFoundError, it is never used Date: Mon, 15 Jun 2009 11:55:21 +1000 Message-ID: <20090615015911.961605330@vergenet.net> References: <20090615015515.927085604@vergenet.net> Return-path: Content-Disposition: inline; filename=remove-PciDeviceNotFoundError.patch List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Masaki Kanno , Dexuan Cui List-Id: xen-devel@lists.xenproject.org Cc: Dexuan Cui Cc: Masaki Kanno Signed-off-by: Simon Horman Index: xen-unstable.hg/tools/python/xen/util/pci.py =================================================================== --- xen-unstable.hg.orig/tools/python/xen/util/pci.py 2009-06-15 11:24:25.000000000 +1000 +++ xen-unstable.hg/tools/python/xen/util/pci.py 2009-06-15 11:24:25.000000000 +1000 @@ -375,17 +375,6 @@ def check_mmio_bar(devs_list): return result -class PciDeviceNotFoundError(Exception): - def __init__(self,domain,bus,slot,func): - self.domain = domain - self.bus = bus - self.slot = slot - self.func = func - self.name = PCI_DEV_FORMAT_STR %(domain, bus, slot, func) - - def __str__(self): - return ('PCI Device %s Not Found' % (self.name)) - class PciDeviceParseError(Exception): def __init__(self,msg): self.message = msg --