stand: Remove unused enum

enum disk_ioctl is unused.  It's only ever defined. All of the stand
code uses DIOCGSECTORSIZE and DIOCGMEDIASIZE instead, both to query and
to implement ioctl.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-11-04 15:28:26 -06:00
parent ad370f7658
commit c9ee39a3f2

View file

@ -97,11 +97,6 @@ struct disk_devdesc {
uint64_t d_offset;
};
enum disk_ioctl {
IOCTL_GET_BLOCKS,
IOCTL_GET_BLOCK_SIZE
};
/*
* Parse disk metadata and initialise dev->d_offset.
*/