From nobody Wed Apr 06 23:46:24 2022 X-Original-To: dev-commits-src-main@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 4B83C1A8406D; Wed, 6 Apr 2022 23:46:26 +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 4KYh412wwMz4R4g; Wed, 6 Apr 2022 23:46:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288785; 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=P8MwArn/3lo+Zppre6XrjHX5UVeCUhypafSOmh79v84=; b=lxcGKg5fGm1hBR/tqU/Xnbav97FtoHIdKylqZi/GPlR+KR8shLeUS1NOHjl97DwL24SQTM 9nU4KHDhcc9hnV+ljquKW+3IraN9Fg2ALHF5COGdna/jep1OJuczwnX924zCYiQypq8SMR Hnh0wqxVkKH9IK1ELA+4Bcx7Qhkk+00qaJim+ss7ps2xs94iEwo/x51dLOYHN3NIGCJu21 1Pb89cv4Gcvdqh6BRwXSXUtMi9WvZ99gzg97hp4zPKyQxt4pnJIHV5qQN7aXv7O5mKa5Uh VEnwd0/vmbVOy/El/xXjJHG0Dfb6pN6Us77ApBBtB1Lic7k8DrM6EGUjlEH6sg== 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 BB04E2497B; Wed, 6 Apr 2022 23:46:24 +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 236NkOl3009197; Wed, 6 Apr 2022 23:46:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 236NkOFT009196; Wed, 6 Apr 2022 23:46:24 GMT (envelope-from git) Date: Wed, 6 Apr 2022 23:46:24 GMT Message-Id: <202204062346.236NkOFT009196@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: c1710eaf32f5 - main - ix: Mark variables only used in debug traces as unused. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c1710eaf32f53d659c3908204513791e51799799 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288785; 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=P8MwArn/3lo+Zppre6XrjHX5UVeCUhypafSOmh79v84=; b=UmnsHHavQ9hXBjrG/GejbPwCoaQ0C+oEKQDeg1JVUBCEAjIfX5MJockbqTDuvhxfEec1Fv UhYA4iaiJcUu9CjwdTthA7WT2nlvtAornbkFZTy1/Z0z+5pVSw0De6yL2dd0DX8USSUSYV Z7amiZHk9DI/jqsEP+oaIqYWvAVoJJGvf9OhZVV1hNIIQ2EvW0erbEMHZEUyuMICrQhGRr Q+OlC2OEa9Aw8pi1YOMgzHuR4KjB8/yvsy2UFwGAcDCY3aknbPN4gx0je6MNrP7nYY0jAE E+ifkSCNb6Rgs1sZvCuBc3JpXHo5BGr8+6zjfFKXVoaYjKeYgOsSSL0HkWDJnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649288785; a=rsa-sha256; cv=none; b=AEvpETtnz4sb8aFrY0vJvZPP4Cn+473qPxXZPlb+z/Z9YMie6kGwjLX1KHTHHojP/ia4dp jg/Hl1j+1Ul68fu1VJ+WJUWYsd8TH6b+jx8GKBuGEH0B/FcqMKvYXgrHxiqkxsEo+DGp37 n/4cdi04qe4PFiM8XxSNk3jw7+phjWDJABuLm+J2WMVhwppSMixoQaDJUjbhIjWXMVGTzj YwvKeDMuy/KuZrWtQjwTrf3orwyIFE66Hw2ExL5PD+0oKb7B5ss1JCyz63MT/DO0mAjH+I NBvFw+PiHyjMRERUTKtJzE+8KNVI4kwXyrL8FMnqTyxiuEF5XgndAAKlocrZiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c1710eaf32f53d659c3908204513791e51799799 commit c1710eaf32f53d659c3908204513791e51799799 Author: John Baldwin AuthorDate: 2022-04-06 23:45:29 +0000 Commit: John Baldwin CommitDate: 2022-04-06 23:45:29 +0000 ix: Mark variables only used in debug traces as unused. --- sys/dev/ixgbe/ixgbe_x550.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ixgbe/ixgbe_x550.c b/sys/dev/ixgbe/ixgbe_x550.c index 3353d91e228e..84db02a11c98 100644 --- a/sys/dev/ixgbe/ixgbe_x550.c +++ b/sys/dev/ixgbe/ixgbe_x550.c @@ -1139,7 +1139,7 @@ s32 ixgbe_write_iosf_sb_reg_x550(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 data) { u32 gssr = IXGBE_GSSR_PHY1_SM | IXGBE_GSSR_PHY0_SM; - u32 command, error; + u32 command, error __unused; s32 ret; ret = ixgbe_acquire_swfw_semaphore(hw, gssr); @@ -1185,7 +1185,7 @@ s32 ixgbe_read_iosf_sb_reg_x550(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 *data) { u32 gssr = IXGBE_GSSR_PHY1_SM | IXGBE_GSSR_PHY0_SM; - u32 command, error; + u32 command, error __unused; s32 ret; ret = ixgbe_acquire_swfw_semaphore(hw, gssr);