From nobody Tue Apr 12 21:59:20 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 6B0031AFBA21; Tue, 12 Apr 2022 21:59:22 +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 4KdKPj472lz4hc4; Tue, 12 Apr 2022 21:59:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800762; 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=0Rw7HC1CxJjKxJRdWu9/U/GiZX8wOuEGTzBAbbd1XX0=; b=Gh0tW5/dmgsDE5r3HKwRcp8vDcm+1LDiSnL6waEkqEHTZOohVTDaEpx9TwwhbODCdeGIfZ Df9C68SX4IjZiGI5vbpgp1NZS385UNQglIwKAPbnuWsubozo2XApt64RsFhSQ5ExFCVudV +RigxUo7UgtjAT7fKrU4/HH7Q2W11IL1d96H3Swzqgu8HMiA3ukoYXyJufUeSirDOuaMbs T/pnr/ed6rrYIZP+Ic5KSCFd7w+Km4NTyQIyuwkAdq9Y9cwPGdPJEpeIBeAN+DtCVX/JhZ hoqMeLUMrB0FeicPquQvOVAYlIWhIim0/nTt/PAasHE/qeNdfACPBR+XgwOVWw== 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 DFCDD1EFED; Tue, 12 Apr 2022 21:59:20 +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 23CLxK6W035399; Tue, 12 Apr 2022 21:59:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CLxK89035398; Tue, 12 Apr 2022 21:59:20 GMT (envelope-from git) Date: Tue, 12 Apr 2022 21:59:20 GMT Message-Id: <202204122159.23CLxK89035398@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: 9c861e931cbc - main - cuda: Remove unused variables. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9c861e931cbcc0610f61bafe0a54bb41c972271e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800762; 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=0Rw7HC1CxJjKxJRdWu9/U/GiZX8wOuEGTzBAbbd1XX0=; b=oWYau4d5zXWVTpqXu9RUTnS7vm2F8rDIxMMXx8hmarKRFFgaHvBZScTMKcgE4ZkxziNJyr yqvwD/khE1saGnAYHkrbmFTXpdp7l4LeuaVs1oIgegmFvkrqTA6zeDX7nCWXiGLbph+AM/ cScmhb4OrtO/stQz+2HZIV97XqouSVh1WD1t6RRWBqeqsoSR79PfGueFv521xlqhkxphp5 GOsDwvDbmQU1FVysswMtvqMbUSCJGopFCQiUMpMSN56WM9rXfvyHy+keelgQOaYGO6IrR2 U3ggKm1wijDFtuGARLiC6yjVDSK/qSVfa5KfrIacg88lwqiBTO+QxUTrYpcGNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649800762; a=rsa-sha256; cv=none; b=WAq5IVXg17KrRzXP7QxH4HtAyN2IyTdG9bV3zukBVHjAn7nsqH854G2s4h/C5JKTNmRMet o+evRHAkDKj2CDq/PDY9nEiG7APNU/7Ttpe6MAHzaMuY4XT2vXxv1tLDFU8ZDyaqipxs2/ 1/yqKcV5b2jv5qR2UDzFHTMoP6ayx2aJaGYrQ4wxDjDHNBKiaXf1L/CjLFrrwDupwaItsT Cn33TtlQ8rvWAVTmE4vxghElMtj0clB/u8hUpr8UOerLhgx74FGCA2tjaBJWAysapAKGcM N9x/T6hXs40+rxhwqrX2wvFHHkdEIb1MHgNEY7cjTnAETjpT6tX8CvIH3jeCuA== 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=9c861e931cbcc0610f61bafe0a54bb41c972271e commit 9c861e931cbcc0610f61bafe0a54bb41c972271e Author: John Baldwin AuthorDate: 2022-04-12 21:58:58 +0000 Commit: John Baldwin CommitDate: 2022-04-12 21:58:58 +0000 cuda: Remove unused variables. --- sys/powerpc/powermac/cuda.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/powerpc/powermac/cuda.c b/sys/powerpc/powermac/cuda.c index ede3ee7eccf1..3c17448187e7 100644 --- a/sys/powerpc/powermac/cuda.c +++ b/sys/powerpc/powermac/cuda.c @@ -522,8 +522,7 @@ cuda_intr(void *arg) { device_t dev; struct cuda_softc *sc; - - int i, ending, restart_send, process_inbound; + int ending, process_inbound; uint8_t reg; dev = (device_t)arg; @@ -531,7 +530,6 @@ cuda_intr(void *arg) mtx_lock(&sc->sc_mutex); - restart_send = 0; process_inbound = 0; reg = cuda_read_reg(sc, vIFR); if ((reg & vSR_INT) != vSR_INT) { @@ -658,7 +656,7 @@ switch_start: break; case CUDA_OUT: - i = cuda_read_reg(sc, vSR); /* reset SR-intr in IFR */ + cuda_read_reg(sc, vSR); /* reset SR-intr in IFR */ sc->sc_sent++; if (cuda_intr_state(sc)) { /* ADB intr low during write */