diff --git a/sys/dev/puc/puc_pci.c b/sys/dev/puc/puc_pci.c index 1c5e7f83116..3432f6d33b6 100644 --- a/sys/dev/puc/puc_pci.c +++ b/sys/dev/puc/puc_pci.c @@ -160,7 +160,7 @@ puc_pci_detach(device_t dev) int error; sc = device_get_softc(dev); - + error = puc_bfe_detach(dev); if (error != 0) @@ -172,7 +172,6 @@ puc_pci_detach(device_t dev) return (error); } - static device_method_t puc_pci_methods[] = { /* Device interface */ DEVMETHOD(device_probe, puc_pci_probe), diff --git a/sys/dev/puc/pucdata.c b/sys/dev/puc/pucdata.c index d76669d7e9b..2c1c7a965da 100644 --- a/sys/dev/puc/pucdata.c +++ b/sys/dev/puc/pucdata.c @@ -905,7 +905,6 @@ const struct puc_cfg puc_pci_devices[] = { PUC_PORT_8S, 0x10, 0, 8, }, - /* * Oxford Semiconductor PCI Express Expresso family * @@ -1279,7 +1278,6 @@ const struct puc_cfg puc_pci_devices[] = { PUC_PORT_4S, 0x10, 0, 8, .config_function = puc_config_icbook }, - { 0xffff, 0, 0xffff, 0, NULL, 0 } };