NO_GEOM cleanup: Remove sys/disklabel.h include.

This commit is contained in:
Poul-Henning Kamp 2003-01-30 19:55:19 +00:00
parent 4f6a9ff59a
commit 6e0b29aeca
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110118

View File

@ -44,7 +44,6 @@
#include <sys/bio.h>
#include <sys/conf.h>
#include <sys/disk.h>
#include <sys/disklabel.h>
#include <sys/malloc.h>
#include <sys/sysctl.h>
#include <sys/stdint.h>
@ -275,7 +274,7 @@ disk_create(int unit, struct disk *dp, int flags, struct cdevsw *cdevsw, void *u
dp->d_devsw = cdevsw;
dev->si_devsw = cdevsw;
dev->si_disk = dp;
dev->si_udev = dkmakeminor(unit, 1, RAW_PART);
dev->si_udev = 0x10002; /* XXX: Needed ? */
sprintf(dev->si_name, "%s%d", cdevsw->d_name, unit);
g_call_me(g_disk_create, dev);
return (dev);