git: 75d454911f7d - stable/13 - stand: Remove unused enum
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 22:12:59 UTC
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=75d454911f7d243b546835d55da5aba3c5b5520c commit 75d454911f7d243b546835d55da5aba3c5b5520c Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-11-04 21:28:26 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-01-24 21:49:37 +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 (cherry picked from commit c9ee39a3f255b62cbf106f4e5a704bcefdef017b) --- 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. */