From nobody Wed Apr 13 23:10:10 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 351101B422F8; Wed, 13 Apr 2022 23:10:14 +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 4Kdywz4JrTz4mCN; Wed, 13 Apr 2022 23:10:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891411; 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=JVdHeQOa9Y5PUnvyENDxLiLqcR+dfJD7UbFKMg4Q7UQ=; b=PLgMS0XwH8YrGsLQIHhJZeBnTh/wkKF5lOlt1e7Wjd4ehsMJnl9w5j+vs8dQ14Rdg/aQ68 joyiB4vnwDerQiHJjoM1TxzJYUDKonQTBTMNm/DS5lwkdjxJkNf0s0EZBe6/e8b04G05A1 Yyfz24qZTIvdopi3w420CuYq8T0AYJFJeEFIw/8WraECr3+8BC7z7y2SHToUqa9ZlIVE1J 4QYVg7hWbosXEg1Kx3ziQK8ea5dD8xcnKIeeVdBRiPkD4QhubmOYIUeKzztQyQgb+dKojx 9akGEzpTSwsuzj0BOFCAv5+l/i6LGlxacjwNFwRz/ZH4k1FhL+RNYQad34YnKQ== 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 0E1B41526A; Wed, 13 Apr 2022 23:10:11 +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 23DNAAvs078678; Wed, 13 Apr 2022 23:10:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DNAAKM078676; Wed, 13 Apr 2022 23:10:10 GMT (envelope-from git) Date: Wed, 13 Apr 2022 23:10:10 GMT Message-Id: <202204132310.23DNAAKM078676@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: 2257e8720300 - main - dpaa: Remove unused variables. 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: 2257e872030064c484b4eda02276f36410e5ccd4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891411; 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=JVdHeQOa9Y5PUnvyENDxLiLqcR+dfJD7UbFKMg4Q7UQ=; b=R39wav7Pa57o//iFc3XNz8xraa8aX+TsHyLwe2I1iEKoqkZ1hmLEbxId/36NIvikaXLhYf S4V3MagCkkqHC0mYI6H9UYikpmCUl5B+omJUPf3fwnvN1Eldo2WFsh9c7rqL5a7/jS3JyS Yd2oVvHhOUqgOuZlhlNsdji99ukMMoqg/daXnmW+YTv2njcEI6FJyG7FwHbggjj4TMDpHv DFwgR0wA82pcvEDyaW9H8t6v+XsvWANwSs7nUgRR/VX3GAGvg9viSvWglLUpVCgUKuUSLB WrflhJ2DlmVFJi5Q4LTcqmQca+Xf9OwmKL/zRl3F+Kg9UhtQw7gh7nhZsimmIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649891411; a=rsa-sha256; cv=none; b=EOZSE4yIgZvkD/P+boom6dyIy1MBZWsFsVIuCXbFw9OaZZnHsLiU4LA/uiMO3wQRu7Lol0 LMZP88Mv+LnL/HhUYDqMhTg2fb6Wmw4zKi1f17av2x8iMfvnLHp//pWsDjn+mFYiv949Iz 2SWrDVYUppB1chfv6CTVRxE83slFpmfrciGxg33RdsOBD/vAQiUMl1hC5Q0zLlrs4Ty6rV 7Rhf3l2m/Nkgs1/6/R/yd3JQt2NySTX9q0DwHH0I4UuYqSFpa0php+96mt9N368oOsykxb Gw3iFQGxMTaHrlYCO9U/y/7NimhxE8ciG25i7q2aJ3lGo0gJpoSOsTYv4A1sPg== 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=2257e872030064c484b4eda02276f36410e5ccd4 commit 2257e872030064c484b4eda02276f36410e5ccd4 Author: John Baldwin AuthorDate: 2022-04-13 23:08:23 +0000 Commit: John Baldwin CommitDate: 2022-04-13 23:08:23 +0000 dpaa: Remove unused variables. --- sys/contrib/ncsw/Peripherals/QM/qm_portal_fqr.c | 2 -- sys/dev/dpaa/fman.c | 2 -- sys/dev/dpaa/qman.c | 2 -- 3 files changed, 6 deletions(-) diff --git a/sys/contrib/ncsw/Peripherals/QM/qm_portal_fqr.c b/sys/contrib/ncsw/Peripherals/QM/qm_portal_fqr.c index bdb7d5175530..31313d37f97c 100644 --- a/sys/contrib/ncsw/Peripherals/QM/qm_portal_fqr.c +++ b/sys/contrib/ncsw/Peripherals/QM/qm_portal_fqr.c @@ -1493,7 +1493,6 @@ static t_Error QmPortalPullFrame(t_Handle h_QmPortal, uint32_t pdqcr, t_DpaaFD * { t_QmPortal *p_QmPortal = (t_QmPortal *)h_QmPortal; struct qm_dqrr_entry *p_Dq; - struct qman_fq *p_Fq; int prefetch; uint32_t *p_Dst, *p_Src; @@ -1516,7 +1515,6 @@ static t_Error QmPortalPullFrame(t_Handle h_QmPortal, uint32_t pdqcr, t_DpaaFD * p_Dq = qm_dqrr_current(p_QmPortal->p_LowQmPortal); if (!p_Dq) continue; - p_Fq = ptr_from_aligned_int(p_Dq->contextB); ASSERT_COND(p_Dq->fqid); p_Dst = (uint32_t *)p_Frame; p_Src = (uint32_t *)&p_Dq->fd; diff --git a/sys/dev/dpaa/fman.c b/sys/dev/dpaa/fman.c index d3327399fb88..64709b07fc42 100644 --- a/sys/dev/dpaa/fman.c +++ b/sys/dev/dpaa/fman.c @@ -123,14 +123,12 @@ int fman_release_resource(device_t bus, device_t child, int type, int rid, struct resource *res) { - struct fman_softc *sc; struct resource_list *rl; struct resource_list_entry *rle; int passthrough, rv; passthrough = (device_get_parent(child) != bus); rl = BUS_GET_RESOURCE_LIST(bus, child); - sc = device_get_softc(bus); if (type != SYS_RES_IRQ) { if ((rman_get_flags(res) & RF_ACTIVE) != 0 ){ rv = bus_deactivate_resource(child, type, rid, res); diff --git a/sys/dev/dpaa/qman.c b/sys/dev/dpaa/qman.c index a090d49adea1..92ea38a16534 100644 --- a/sys/dev/dpaa/qman.c +++ b/sys/dev/dpaa/qman.c @@ -304,13 +304,11 @@ qman_fqr_create(uint32_t fqids_num, e_QmFQChannel channel, uint8_t wq, { struct qman_softc *sc; t_QmFqrParams fqr; - unsigned int cpu; t_Handle fqrh, portal; sc = qman_sc; sched_pin(); - cpu = PCPU_GET(cpuid); /* Ensure we have got QMan port initialized */ portal = qman_portal_setup(sc);