From nobody Mon Feb 19 03:45:56 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 4TdT3851cXz58t3R; Mon, 19 Feb 2024 03:45:56 +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 4TdT384Zktz4sVZ; Mon, 19 Feb 2024 03:45:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708314356; 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=2tmWryoIB9XZze270LqIWce2oOf9C2gjOrACpvPxw5I=; b=PRtjt2EMzAbTQMvAsN49YP6+dSXnWKtRZRPe2e16JzKj+ry6OBT/+c7G3OSon6pQlgAXAh tsuSryK6zIaKKKtTVTJ8ybasDl4ew0PsfP38ODvPTDNm+bRXrHKXhF1sI6COgZfsqCF1Dg EaFzeuK5pYRBHdOmAgqpWGvdM1eH2G5AlPzbzor9CUCE60vpuB4lk4uwYQ9CgFYYe3LWsI ONgR/0VCTpqoczUfGmuVAfVyNG2+yGEgY8VbqM6fHspYxwHmQG1G6TDsRnMVyDJBhYBLio wvfzBDjgGZaP8SvDTkLu72/c/O1R9uqGr+nLaMSh2utP5z+1PuyM9wwTkCvFpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708314356; 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=2tmWryoIB9XZze270LqIWce2oOf9C2gjOrACpvPxw5I=; b=DbSlys0Bmr/NlR+9XwljaaOcb7vzgX7Zu0UO8RbuMn1ZUMdBYuzqUjSXpm/+Xeau9wtcSw xM4QAAR4aVpXdpclnT+VtJGXDNmv/VEigIw4DGY0VF3WU6MGny41AEz2HnFcOnvX47Ay6d tsDA1+d9yjvSK6qCQc94oORu01A+KgWw0GWsyPeI5UsOComqZo00g+UuDIkwhMYYFzy2pT tlU9ObRyJlzWRxkiKSVCvomiGeJPlyJstiO0VfuUOmSdtn9p06S/BIt9KmgFYSaXFq93Je MX+5ottdSW7jCIhFTtVJXA0TLvMncXJOpm7xyAMro+cnn+eyQ5UINzpnjdJF1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708314356; a=rsa-sha256; cv=none; b=JM4qCX+h5paUCFoXfT5l8RwGivqPbhz1UikWgYiklRw2nJP8q3i+Sf2VtxAxh6wIvdTvmS fdz45rGUi7VAYYcmAD0HlNHkFoL5m4A3gyaMx4wUgm/sy7SxXGmgq4PbYXp6kS8j73wwqV E6Scz+ZTZqbkCn3Ykt1KfmFHDRo8ZPXBchKnmmBnkzOPbwvYRv1gYMCDaq49AItQ6Lc+ZI Ut3LJOTyVPrOqpRTrpBhbLZPsiMIhMa+KFAcWfOWISqfRhC5RWPD5ufNRhnt8AGK5Xkgre dVWQosazEfJ8+kfxnq5AtIrQEKxkOaZiRUKoqdzmLSNEUuzLL+/NRO9m/XZy5A== 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 4TdT383fZQzJhR; Mon, 19 Feb 2024 03:45:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41J3juAQ076639; Mon, 19 Feb 2024 03:45:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41J3ju6O076636; Mon, 19 Feb 2024 03:45:56 GMT (envelope-from git) Date: Mon, 19 Feb 2024 03:45:56 GMT Message-Id: <202402190345.41J3ju6O076636@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: d9b466296bdd - stable/13 - mvs: Eliminate unused variable. 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/stable/13 X-Git-Reftype: branch X-Git-Commit: d9b466296bdd1aa3b25b0cb6f0f546af21e55c62 Auto-Submitted: auto-generated The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=d9b466296bdd1aa3b25b0cb6f0f546af21e55c62 commit d9b466296bdd1aa3b25b0cb6f0f546af21e55c62 Author: Warner Losh AuthorDate: 2023-06-09 23:18:54 +0000 Commit: Warner Losh CommitDate: 2024-02-19 03:43:00 +0000 mvs: Eliminate unused variable. ccim is unused. Just remove it. PR: 271920 Sponsored by: Netflix (cherry picked from commit 17dce737e305891c88e2410469cd23d8cfad1ca3) --- sys/dev/mvs/mvs_soc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/mvs/mvs_soc.c b/sys/dev/mvs/mvs_soc.c index 9ffc56911404..f499d241adfa 100644 --- a/sys/dev/mvs/mvs_soc.c +++ b/sys/dev/mvs/mvs_soc.c @@ -205,7 +205,7 @@ static int mvs_ctlr_setup(device_t dev) { struct mvs_controller *ctlr = device_get_softc(dev); - int ccc = ctlr->ccc, cccc = ctlr->cccc, ccim = 0; + int ccc = ctlr->ccc, cccc = ctlr->cccc; /* Mask chip interrupts */ ATA_OUTL(ctlr->r_mem, CHIP_SOC_MIM, 0x00000000); @@ -222,8 +222,6 @@ mvs_ctlr_setup(device_t dev) ccc *= 150; ATA_OUTL(ctlr->r_mem, HC_ICT, cccc); ATA_OUTL(ctlr->r_mem, HC_ITT, ccc); - if (ccc) - ccim |= IC_HC0_COAL_DONE; /* Enable chip interrupts */ ctlr->gmim = ((ccc ? IC_HC0_COAL_DONE : (IC_DONE_HC0 & CHIP_SOC_HC0_MASK(ctlr->channels))) |