diff options
author | phk <phk@FreeBSD.org> | 2003-01-30 19:22:27 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-30 19:22:27 +0000 |
commit | 0d05e0d7d3f094135336a269e9188cb2b1484395 (patch) | |
tree | 17c787c2ca06d8f63d4d790066339d0adc3a4a49 /sys | |
parent | 32cb3f169388f682689f0e9a99b8261fd591a265 (diff) | |
download | FreeBSD-src-0d05e0d7d3f094135336a269e9188cb2b1484395.zip FreeBSD-src-0d05e0d7d3f094135336a269e9188cb2b1484395.tar.gz |
NO_GEOM cleanup: unifdef;
Diffstat (limited to 'sys')
-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 dae75e7..6aedd81 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); |