NO_GEOM cleanup: Mark the last arg to disk_create() as unused.
This commit is contained in:
parent
cd92290e8c
commit
bcf1d466fe
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user