From 255e4915dc46b8250fa6d319fab6ee51e481cb7b Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 20 Sep 2005 19:34:10 +0000 Subject: [PATCH] remove some dead code --- sys/dev/pccard/pccard.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c index e2667b3dc7d..ad7276976a7 100644 --- a/sys/dev/pccard/pccard.c +++ b/sys/dev/pccard/pccard.c @@ -94,7 +94,6 @@ static int pccard_function_enable(struct pccard_function *pf); static void pccard_function_disable(struct pccard_function *pf); static int pccard_compat_do_probe(device_t bus, device_t dev); static int pccard_compat_do_attach(device_t bus, device_t dev); -static int pccard_add_children(device_t dev, int busno); static int pccard_probe(device_t dev); static int pccard_attach(device_t dev); static int pccard_detach(device_t dev); @@ -786,18 +785,11 @@ pccard_compat_do_attach(device_t bus, device_t dev) #define PCCARD_NIRQ 1 #define PCCARD_NDRQ 0 -static int -pccard_add_children(device_t dev, int busno) -{ - /* Call parent to scan for any current children */ - return (0); -} - static int pccard_probe(device_t dev) { device_set_desc(dev, "16-bit PCCard bus"); - return (pccard_add_children(dev, device_get_unit(dev))); + return (0); } static int