From f515135ff90b87c90a18e93a438299e5970f0372 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Fri, 2 Jan 2015 08:57:36 +0000 Subject: [PATCH] Remove duplicate pci_driver class declaration. --- sys/dev/xen/pci/xen_pci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/xen/pci/xen_pci.c b/sys/dev/xen/pci/xen_pci.c index 2637d6305bd0..d1bd439d4b76 100644 --- a/sys/dev/xen/pci/xen_pci.c +++ b/sys/dev/xen/pci/xen_pci.c @@ -72,7 +72,6 @@ static device_method_t xen_pci_methods[] = { static devclass_t pci_devclass; -DECLARE_CLASS(pci_driver); DEFINE_CLASS_1(pci, xen_pci_driver, xen_pci_methods, sizeof(struct pci_softc), pci_driver); DRIVER_MODULE(xen_pci, pcib, xen_pci_driver, pci_devclass, 0, 0);