1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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

This commit is contained in:
Poul-Henning Kamp 2003-01-30 11:39:36 +00:00
parent fe5e7c6b2b
commit bf17219d59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110081
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);