diff options
Diffstat (limited to 'sys/kern/kern_conf.c')
| -rw-r--r-- | sys/kern/kern_conf.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index dae75e73b3f4..6aedd816e859 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -66,20 +66,12 @@ static int ready_for_devs; static int free_devt; SYSCTL_INT(_debug, OID_AUTO, free_devt, CTLFLAG_RW, &free_devt, 0, ""); -#ifdef NO_GEOM -/* XXX: This is a hack */ -void disk_dev_synth(dev_t dev); -#endif struct cdevsw * devsw(dev_t dev) { if (dev->si_devsw) return (dev->si_devsw); -#ifdef NO_GEOM - /* XXX: Hack around our backwards disk code */ - disk_dev_synth(dev); -#endif if (dev->si_devsw) return (dev->si_devsw); return (NULL); |
