From nobody Wed Dec 18 14:21:20 2024 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 4YCwpS2gz5z5hPLJ; Wed, 18 Dec 2024 14:21:20 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCwpS20nzz4KPd; Wed, 18 Dec 2024 14:21:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734531680; 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=S6aFZ+lTCg5M5guVW/rgyBSoytUf6aIwCO7ccpN8nO4=; b=EiySBpEFwjnrhM8a6U3V112svlIl51TtNxmQtmAAWR6jJ4MlKL2LB0xFzB4i+zi2OZW6G6 JPVdnQwoRkLXigpEC1O+qLiPNprVwyg6cvBoTwZnpYWk0hwSi4rWXJwdXM+52LE+nvIRXP Q/S92juGPzK/3te2Vj3mkjXqE+k09hjp9JsSJMKxvKF/09v5FtnOhvJHAF9+VDlYo/IlAH orpG7xWso9posUqx8RmPwEzB8G1b8bmdRVNjbHb862UPdiFMrNGqXC3ui/rJNdneZiT692 aVyn464PUWJqIgUWT6J/jz/bfJGQhBRNmN2HzowAw5D0QNbBFTv7r0pERtyWYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734531680; 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=S6aFZ+lTCg5M5guVW/rgyBSoytUf6aIwCO7ccpN8nO4=; b=FCyA6rCQJ8OzT2aTUDDb1dWTz9Z669rXm8bh24UyBCE6Fl/3lINsBMoEHtF8ABPBTd4/7P 3UJdHLATcHfefK3qBXv6Q6qxsThx1ow1noYZLzvspAPHTwisgRoqSf95RVamFxbTKqrAZ5 LAsXDmMPtj0btaStb2U6xCSXG12QX7uTztWYNAcTnIyUccQW9jD18wzj3JGAChO1jFTTx+ Iye+BLK3nwhx31CIbvjFynyatoMdHqh/vGiif5hWyxn4UYmUzMa7pgmWiOq+E6WAn7XLQ9 86bn+y+xcXz8E93KZUNFC7moHEjV3QGAl1JMJhMT5AZvJ/y1gxnH3lPN6i/v1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734531680; a=rsa-sha256; cv=none; b=EhuVtYxYcsnVnLwDN9zDjO1FsXTKxTHex/Wyzn2JC4stUpPE1OBEfQNpz6yHhfLmyZRvUA SJor6eh69C9De2MNzpoVzw92555/tPk6idTLLYgRyMFe718XZpmRwuhsROBem5L9gfguTD DUpEMeCWQ6s8ntqF1FMRSwDmvEpr3j/MSXohFAFWYTmlS1/I+HVHzK8vGRdy8gQzpj2gTV ea5s4Kl5x+w59m2KyHCbqK5a8ZlQPwFjJaRkowLQ420NZHZABQ9DLHvlBPhVX8Z7x/y8Hb /BfiEawiIiVU50j8zbAfAoAoD389r/BQ4ZzUoVJ77QkahLh6PNUwwUF5B6w4cA== 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 4YCwpS1Vm9z1BDv; Wed, 18 Dec 2024 14:21:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BIELKu9089411; Wed, 18 Dec 2024 14:21:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BIELKwP089408; Wed, 18 Dec 2024 14:21:20 GMT (envelope-from git) Date: Wed, 18 Dec 2024 14:21:20 GMT Message-Id: <202412181421.4BIELKwP089408@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 705337455f06 - stable/14 - amd iommu: remove unused function 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 705337455f0622223fc58a78a77ea1a536d746a5 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=705337455f0622223fc58a78a77ea1a536d746a5 commit 705337455f0622223fc58a78a77ea1a536d746a5 Author: Konstantin Belousov AuthorDate: 2024-12-15 22:49:52 +0000 Commit: Konstantin Belousov CommitDate: 2024-12-18 14:20:41 +0000 amd iommu: remove unused function (cherry picked from commit 58d1fdfaa90a5365a5f951e2ac80e0fce02ca9bb) --- sys/x86/iommu/amd_drv.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/x86/iommu/amd_drv.c b/sys/x86/iommu/amd_drv.c index 72aae58334f2..04e5444b0b46 100644 --- a/sys/x86/iommu/amd_drv.c +++ b/sys/x86/iommu/amd_drv.c @@ -80,12 +80,6 @@ static int amdiommu_enable = 0; static TAILQ_HEAD(, amdiommu_unit) amdiommu_units = TAILQ_HEAD_INITIALIZER(amdiommu_units); -static u_int -ivrs_info_to_unit_id(UINT32 info) -{ - return ((info & ACPI_IVHD_UNIT_ID_MASK) >> 8); -} - typedef bool (*amdiommu_itercc_t)(void *, void *); typedef bool (*amdiommu_iter40_t)(ACPI_IVRS_HARDWARE2 *, void *); typedef bool (*amdiommu_iter11_t)(ACPI_IVRS_HARDWARE2 *, void *);