Remove unused SI_* flags.
The SI_DEVOPEN, SI_CONSOPEN and SI_CANDELETE flags are not used by any piece of code in the tree.
This commit is contained in:
parent
24d1105dde
commit
fa4dd27847
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239791
@ -1431,10 +1431,7 @@ DB_SHOW_COMMAND(cdev, db_show_cdev)
|
||||
SI_FLAG(SI_NAMED);
|
||||
SI_FLAG(SI_CHEAPCLONE);
|
||||
SI_FLAG(SI_CHILD);
|
||||
SI_FLAG(SI_DEVOPEN);
|
||||
SI_FLAG(SI_CONSOPEN);
|
||||
SI_FLAG(SI_DUMPDEV);
|
||||
SI_FLAG(SI_CANDELETE);
|
||||
SI_FLAG(SI_CLONELIST);
|
||||
db_printf("si_flags %s\n", buf);
|
||||
|
||||
|
@ -59,10 +59,7 @@ struct cdev {
|
||||
#define SI_NAMED 0x0004 /* make_dev{_alias} has been called */
|
||||
#define SI_CHEAPCLONE 0x0008 /* can be removed_dev'ed when vnode reclaims */
|
||||
#define SI_CHILD 0x0010 /* child of another struct cdev **/
|
||||
#define SI_DEVOPEN 0x0020 /* opened by device */
|
||||
#define SI_CONSOPEN 0x0040 /* opened by console */
|
||||
#define SI_DUMPDEV 0x0080 /* is kernel dumpdev */
|
||||
#define SI_CANDELETE 0x0100 /* can do BIO_DELETE */
|
||||
#define SI_CLONELIST 0x0200 /* on a clone list */
|
||||
struct timespec si_atime;
|
||||
struct timespec si_ctime;
|
||||
|
Loading…
Reference in New Issue
Block a user