git: c9ee39a3f255 - main - stand: Remove unused enum
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Nov 2022 21:41:51 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=c9ee39a3f255b62cbf106f4e5a704bcefdef017b
commit c9ee39a3f255b62cbf106f4e5a704bcefdef017b
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-11-04 21:28:26 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-11-04 21:40:12 +0000
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
---
stand/common/disk.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/stand/common/disk.h b/stand/common/disk.h
index 806673349cb8..291999ce960d 100644
--- a/stand/common/disk.h
+++ b/stand/common/disk.h
@@ -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.
*/