From nobody Wed Apr 13 23:09:53 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 05E431B416C3; Wed, 13 Apr 2022 23:09:55 +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 4Kdywf015Cz4m5k; Wed, 13 Apr 2022 23:09:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891394; 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=+YoJ/cCaNrmOHs8oAPue0VELG5P0zdczZtwQIxHHo6M=; b=GLEV7qw4VrJJowMMj4M2rGdCpnhQLM4vacCSk7vuHrSvSqm7WaHrcrmhGg6geUCYjoV9l2 b4he7l7d44ToQJAywtDgB/NNg/T2Z1BFunKqFmxw+65wjJjGZ8s/NUjeKluPCl+ZTbt5TF isXvQDQmdqJSa0yclDgZbz/6K1rbXerz/JExB34n0zjO65+J0eXAjX156oFuysVtnLq19R 7CQ1FlwT28oG65E6k8ABy3thTSruU2P2jJ7AYGPhTp5+3XCO30tlcLOGpq2wJ8MlXxEpuq ZGQQu/8qD9PFdkDa6uycke2F/r7+JDKhrjN155wDKmDC1qQNZZlqNMAzIRkoOQ== 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 3EDFE15387; Wed, 13 Apr 2022 23:09:53 +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 23DN9rf0074967; Wed, 13 Apr 2022 23:09:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DN9rHs074966; Wed, 13 Apr 2022 23:09:53 GMT (envelope-from git) Date: Wed, 13 Apr 2022 23:09:53 GMT Message-Id: <202204132309.23DN9rHs074966@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: e6fd5ca5458f - main - xdma pl330: 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: e6fd5ca5458fb35df0265fdf8fd80bc1ef37f995 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891394; 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=+YoJ/cCaNrmOHs8oAPue0VELG5P0zdczZtwQIxHHo6M=; b=x2M6/5LjO4s2HQlf7eAaDNCSOC0NHFX99+XO29vrzNaf907Jt1Y1V4IXFw/lt5ZSL8P7UV rzReXneA66R7JBd1jWtiC8Bb71Fae5IlcqHMlwgWYmWIIoaICexFRKr7hMq6WLYaiPyADc AQoDSMiayuaJfjFvJXJARDDYSLAMKXnxMUq3hjOa3kF/O/1+uynTGHmVnhnNg5dQn5NI9+ 3z8GWhMKP+kRNOMNxVl1WblBU1glsmk/m7lLRIpG5WaIUBZc7PdCwxkeXpw0IduHYsh5iK vnCMu+grwPQurSjGDTSWW6EHDKgO+OCHf1Fajzv0YwNt1y3iRNFuRd+VN1JTlg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649891394; a=rsa-sha256; cv=none; b=yh+LFwjuN5JUpqXxaqLlWLfJ3yEiSQ/5MCNgk0OSEncj6pcUGXiN808mt9hGlesKeoYG80 Ujoa2tBxxD4RNlaj322uE3xrL0ETbolMjD22M8bvSDxwx2P2p2HwuSP1of7wbfK8jjGWGB l0AsOveQQOZ2zYwhAIAmOPugqDmFjvWF9yp6m5zFSQ3/P6ROxpph+YkotQd9i8UrJ7oqot +gZDZs7+h63W9JMDZvoNBUFFZh4TYFltLvUx/4IkflHGwpK824OF3p0RSBoR1V+1kg5C0M bt3elLfm40CxjeLwF3aHp4rC846zor78wUYkr4M1Ji4mKRwupxQC5NcQeHKarA== 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=e6fd5ca5458fb35df0265fdf8fd80bc1ef37f995 commit e6fd5ca5458fb35df0265fdf8fd80bc1ef37f995 Author: John Baldwin AuthorDate: 2022-04-13 23:08:22 +0000 Commit: John Baldwin CommitDate: 2022-04-13 23:08:22 +0000 xdma pl330: Remove unused variables. --- sys/dev/xdma/controller/pl330.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/sys/dev/xdma/controller/pl330.c b/sys/dev/xdma/controller/pl330.c index 3e0b6368cd72..5b3b538d44a5 100644 --- a/sys/dev/xdma/controller/pl330.c +++ b/sys/dev/xdma/controller/pl330.c @@ -366,10 +366,6 @@ pl330_attach(device_t dev) static int pl330_detach(device_t dev) { - struct pl330_softc *sc; - - sc = device_get_softc(dev); - return (0); } @@ -408,9 +404,6 @@ static int pl330_channel_free(device_t dev, struct xdma_channel *xchan) { struct pl330_channel *chan; - struct pl330_softc *sc; - - sc = device_get_softc(dev); chan = (struct pl330_channel *)xchan->chan; chan->used = 0; @@ -576,9 +569,6 @@ static int pl330_channel_prep_sg(device_t dev, struct xdma_channel *xchan) { struct pl330_channel *chan; - struct pl330_softc *sc; - - sc = device_get_softc(dev); dprintf("%s(%d)\n", __func__, device_get_unit(dev)); @@ -591,13 +581,6 @@ pl330_channel_prep_sg(device_t dev, struct xdma_channel *xchan) static int pl330_channel_control(device_t dev, xdma_channel_t *xchan, int cmd) { - struct pl330_channel *chan; - struct pl330_softc *sc; - - sc = device_get_softc(dev); - - chan = (struct pl330_channel *)xchan->chan; - switch (cmd) { case XDMA_CMD_BEGIN: case XDMA_CMD_TERMINATE: