NO_GEOM cleanup: Mark the last arg to disk_create() as unused.

This commit is contained in:
phk 2003-01-30 11:39:36 +00:00
parent cd92290e8c
commit bcf1d466fe
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ g_disk_create(void *arg)
dev_t
disk_create(int unit, struct disk *dp, int flags, struct cdevsw *cdevsw, struct cdevsw *proto)
disk_create(int unit, struct disk *dp, int flags, struct cdevsw *cdevsw, void *unused)
{
dev_t dev;

View File

@ -40,7 +40,7 @@ struct disk {
#define DISKFLAG_LOCK 0x1
#define DISKFLAG_WANTED 0x2
dev_t disk_create(int unit, struct disk *disk, int flags, struct cdevsw *cdevsw, struct cdevsw *diskdevsw);
dev_t disk_create(int unit, struct disk *disk, int flags, struct cdevsw *cdevsw, void *unused);
void disk_destroy(dev_t dev);
struct disk *disk_enumerate(struct disk *disk);
void disk_err(struct bio *bp, const char *what, int blkdone, int nl);