]> git.hungrycats.org Git - linux/commitdiff
[PATCH] PCI debug compile fix in sis_router_probe()
authorAndrew Morton <akpm@osdl.org>
Sat, 15 May 2004 03:21:58 +0000 (20:21 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 15 May 2004 03:21:58 +0000 (20:21 -0700)
From: Pavel Roskin <proski@gnu.org>

I get a compile error when I define "DEBUG" in arch/i386/pci/pci.h.  Variable
rt is not defined in sis_router_probe(), file arch/i386/pci/irq.c.

arch/i386/pci/irq.c

index 71b353bb7396c69143a46d7908d5705f6103f726..6fb0a61a44d8f27515e37b4ccde0842c9320acc1 100644 (file)
@@ -541,8 +541,6 @@ static __init int sis_router_probe(struct irq_router *r, struct pci_dev *router,
        r->name = "SIS";
        r->get = pirq_sis_get;
        r->set = pirq_sis_set;
-       DBG("PCI: Detecting SiS router at %02x:%02x\n",
-           rt->rtr_bus, rt->rtr_devfn);
        return 1;
 }