From nobody Tue Apr 12 21:59:19 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 958BC1AFB756; Tue, 12 Apr 2022 21:59: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KdKPh344dz4hZ1; Tue, 12 Apr 2022 21:59:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800760; 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=6GOKEhJ+bPVIsujXfWBGSFe6LYjN80Up8TZPuuVaN0k=; b=uSALnVItxaKjH4h4PjmUNR+8SttrMOBknKFAoaetTwsLZ4V4UdbmlgTvA/u5ppMN0ucVUd EZBU0SZ3g+cnEAnZ0h7eiGsl1HYDgkfIXfBR5sGN7WoeKvcJ95HomUNwwb6WlRAyR+X5rb uONjNLAmnhhcKMWi/16UABFaYsLKEGENhQMwwSLW6P1+4CME0SAatSltt6nAAK/m3h9HB3 h37CQz5m3lUYvMTaqE5I5x7Zoz8huWKoHf+Aksdo9+hb8VzQdmQRH6cXFXPrstWbj7JbMo Ax1SKyYZI+qY75HUasCPN6vhayx7k3YCz6iOH2EvTGqsZZPMWbauXUBFpor1SA== 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 B7A5A1F459; Tue, 12 Apr 2022 21:59:19 +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 23CLxJGw035375; Tue, 12 Apr 2022 21:59:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CLxJYX035374; Tue, 12 Apr 2022 21:59:19 GMT (envelope-from git) Date: Tue, 12 Apr 2022 21:59:19 GMT Message-Id: <202204122159.23CLxJYX035374@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: 6e31d66849f0 - main - ata_dbdma_dmainit: Remove 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6e31d66849f060e7014c19696209488c2b578e08 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800760; 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=6GOKEhJ+bPVIsujXfWBGSFe6LYjN80Up8TZPuuVaN0k=; b=cKJqZjSeEmUEEcD6kpBND5KNAL6RuoLpzTNZrDbRyzgNaAJizfGIV91I9pKmM4hD0V3fK4 f/8+F7zTPVz5R/F9+dcVgRZVt0Du1rNwc/VjYU9h6ZQidz/XZ5EJRvp78GLcaQpSlSI6LI C/azaj9ZBrxAbF8imiGjuisRo8vgliJ8ixHR3vx+sKP+Ar97QzXq9uyRhxKKI69P7lKKOK SmMgCJJaMqGGBp6xBvhJ2Fnp2mX/d093kqu057X5T35MZFaPEHZZD0P63I5Fz4VXODFt6x NDC6O4+MTareF7dOAVY3t+7edyB2izoaxM26PyC6SFK2TobjtRgPAiBux1uIgg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649800760; a=rsa-sha256; cv=none; b=toC9TXkBqbkXHh8fcDp16XYHT+Rp6LkBTksXuzY/zu1tUdRO5z9fSKsmksjs/alJ3oFTwP P/R86wbNCP/fo6HtIs1p1xMQBCZcYwDJlsXfLHg+ZXCxfkWeqwuIWrNIdIMq8F/YTK/RQF dcDClb1EKidvjL3beIvo3Ukpe1JJXGPnRdIzSF45V7z1nGgM5Q//1sN/QTXbfNeW4+Jlz0 nzOVC42VAsZI5mILv0gpUjy7pSHj+7J4+ELSJpJHoxKfo0jbuyIxgLClSVfBJA7tiUbUW4 xb/OuegxldaT595QF0iVbnDFbUOiUG/U/lLYUglduDkI+KLZ5VEdtOAanMFbcQ== 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=6e31d66849f060e7014c19696209488c2b578e08 commit 6e31d66849f060e7014c19696209488c2b578e08 Author: John Baldwin AuthorDate: 2022-04-12 21:58:58 +0000 Commit: John Baldwin CommitDate: 2022-04-12 21:58:58 +0000 ata_dbdma_dmainit: Remove unused variable. --- sys/powerpc/powermac/ata_dbdma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/powerpc/powermac/ata_dbdma.c b/sys/powerpc/powermac/ata_dbdma.c index f2484bc0ae0f..65e99e57f68a 100644 --- a/sys/powerpc/powermac/ata_dbdma.c +++ b/sys/powerpc/powermac/ata_dbdma.c @@ -260,9 +260,8 @@ void ata_dbdma_dmainit(device_t dev) { struct ata_dbdma_channel *sc = device_get_softc(dev); - int error; - error = dbdma_allocate_channel(sc->dbdma_regs, sc->dbdma_offset, + dbdma_allocate_channel(sc->dbdma_regs, sc->dbdma_offset, bus_get_dma_tag(dev), 256, &sc->dbdma); dbdma_set_wait_selector(sc->dbdma,1 << 7, 1 << 7);