From nobody Fri Nov 04 21:41:51 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N3vGS0zWqz4gpjC; Fri, 4 Nov 2022 21:41:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N3vGS0Yh2z3qWK; Fri, 4 Nov 2022 21:41:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667598112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gF+rNguxE0bwnxpvOGrlrT8nIw13h0cJ5gKI5NNRIWo=; b=f+cnoMiMvzBgHu8FV1bRMa2Tq6ECMvYgej4xMx2g6sQRvH6VCLhTCZcXeeO/XYSg4mZD5x 3rHLwKE/pvtoxplOWZA+lvZK3S88JRt4QA2JKwhz67yAOs0/qRsHimnFL+K9z4EjSwVeYJ jODXu6zBirfFz6/QtjPM8fTlV5Sci2jiMZw/hc51B/aMnYQRk7zWnEf8ZVRk/O3v0h828A Y/l5Cr76J1cGwGSJxF2hYEcwf1uUBa7kOLaxEcWnWMC3+gSyp14hJW7nLRQNZpHEOv8B4g k81hQUZCdwkLp4E06eqla2ewGFaPnpPaXwAHqtIzFN1nJ0hl/aexYF59Z+3ddQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N3vGR6n65zHD3; Fri, 4 Nov 2022 21:41:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A4LfpeQ031542; Fri, 4 Nov 2022 21:41:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A4LfpYJ031541; Fri, 4 Nov 2022 21:41:51 GMT (envelope-from git) Date: Fri, 4 Nov 2022 21:41:51 GMT Message-Id: <202211042141.2A4LfpYJ031541@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: c9ee39a3f255 - main - stand: Remove unused enum List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c9ee39a3f255b62cbf106f4e5a704bcefdef017b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667598112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gF+rNguxE0bwnxpvOGrlrT8nIw13h0cJ5gKI5NNRIWo=; b=fnkfprKjvZQLR/dkq8MBLETaCP5pfvj6n9RV1tAVTB4k6yN9eYtasrH0JxKejHG/2ECgfv +/lMhpg67w+SttrQlvW4LaMAGvJ0ivx2LC/7whoL9JJDe9U57ZSdqgg0vLVpAMWiuuVDyP jMuQUlvHbni4207tMVVDbFgAdiO9iSqa1LaaZdkVssphqthi1T9gE/kQRgKFwVmPIFTxXA NzYdTZ+nExJDyNeVC7F3LkOTKt51wJI5yNsO3upwnCoTnh0JOyzGxXMt1evuRy2vNsQ8wT +Pv2nJwrGNSZbcYVnlcFG6dzXeGo/0HBdSnT5mOPsZuFaLPPJsFRa7aAXJx4tA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667598112; a=rsa-sha256; cv=none; b=A8eUaFArJfl7kj9OaAxG/OCd8fBKFS8scZYzKdUUvtC+Nfc3Ih1+OAjRhJX++fp5HayeO5 CZiBPfqbXht8XygTHfURvR+TpdkBjF2HLfqw/NotwsSJo9eXBVmJVgxJY4rtApeNiVLunZ nZH0+Eb43OsH8oEqGQy8n8PsmZPtbVaYRS3HXRCf/Cnpj86fvx/wbTMChANwGMRK6wtNqc xUa0W6fD2zkKTVlEtpUhLMeksSwqUlDqGOswA/Q+59bwOUoSglAd8G2ngan7AVqqQGacLN rycuL4XunkTFq3yAKqDFTCFt9/vjD/4kbb1PxACnj65AVRjBm+uvS4u61A/5lg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c9ee39a3f255b62cbf106f4e5a704bcefdef017b commit c9ee39a3f255b62cbf106f4e5a704bcefdef017b Author: Warner Losh AuthorDate: 2022-11-04 21:28:26 +0000 Commit: Warner Losh 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. */