From nobody Tue Apr 12 21:59:09 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 2C3951AFADCD; Tue, 12 Apr 2022 21:59:10 +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 4KdKPT4Yfpz4hhD; Tue, 12 Apr 2022 21:59:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800749; 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=hMAmbU1vNRPad2xvGqy0SgatC3E1dniBpCmwe14QnE8=; b=Rv7jZqTnUmftDiDXTJs7JLGFZLYqLCWRQgH/0AmJbRz78daU7qeTbFzd9yhAzVPZjvS/pS kq2jPouwOyyQ3Ra4wJr5hb7mzA2FnaVi6B7M5hJlo4USGgOmkI1o45m/mEuFKptd4lnEeF ZZG57S5A4od+aXYZu8nA95e4U2vcZ+8JDDLuZ9sT/gd4DgzZThfSfkBohhngspimowziQP riijIiouqOhOYPgLhtyjan5U+y1WEXYoRNX+nxnz5sofF81MBDCzbUlvd+JlYIFdMMjD7I SNGBEzstG1Vu39byKISsGXyVeQZtT8D1IZBSLCTYdzr4CbJagjfQM/GWghC7hQ== 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 6DBE61F68E; Tue, 12 Apr 2022 21:59:09 +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 23CLx9uK035146; Tue, 12 Apr 2022 21:59:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CLx9cV035145; Tue, 12 Apr 2022 21:59:09 GMT (envelope-from git) Date: Tue, 12 Apr 2022 21:59:09 GMT Message-Id: <202204122159.23CLx9cV035145@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: 8209266cab56 - main - if_xae: 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: 8209266cab569ae07965b694a36ec65ecce292ec Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800749; 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=hMAmbU1vNRPad2xvGqy0SgatC3E1dniBpCmwe14QnE8=; b=JUejfnbSiia5IZkC8UefDdcQN8B3xDWOFJmo47FnvfJRAfqmPhwMo/J4ElM/MxSvpRv5Yv adSOVpim4dQgyGh3D0RJ0tpS7ZL/fEyMfnQ8OgJAjcpFZopO0QX9JMtJ8mmP/cpi/EPQis LeN3D9owaWKIyaaY7AdIO/Ocda1CiIL9gsSN4ASEu9Lo/56Wgv/vqyV0zIK+NM6tQ4EJ4e uhZXg73ZnrGbZkrqGXsbwQYHDRIIsYwMCpQjY0C3wE527NkUFl/r0OMU1Kn/5ZnPoUe5CD rF0RfhOb+VE3rg+n/Wr+QyV1FGklVqox4yQqdJOQyQO/i0/Mzgtxvk2bV28EPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649800749; a=rsa-sha256; cv=none; b=jpJGjp1t3bI+b2+U7nVoRNyilE/4RuYMM2pI7Wre7EsNRMuWJ91NnsPscPdDL4OjZ/6KF9 kxH+pBvA2nXQ2POUBCTdJ5IFYFV9QgyTs3TnhHpsivxoFsIFDPnY5i0Oqv5VVQ907hdua5 D8vQplieqrLOUCJtDabG2aWUY5wg3TJmuw3Pghr3dvPd4lBUwAJANpoATgD1flqk1V8D/t Mt/sk2eKMzy0+As/GMlkU6s8L+jrkscrsFpH4DUUTKBvDp5992LMDvL7fSOM056qilKGk4 gNJEMeLYc7AhExBH2aVP2mBqsYwX3HRQagPOjgRlbK2Y+m/OzB+RhcPszN5B+w== 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=8209266cab569ae07965b694a36ec65ecce292ec commit 8209266cab569ae07965b694a36ec65ecce292ec Author: John Baldwin AuthorDate: 2022-04-12 21:58:57 +0000 Commit: John Baldwin CommitDate: 2022-04-12 21:58:57 +0000 if_xae: Remove unused variables. --- sys/dev/xilinx/if_xae.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/dev/xilinx/if_xae.c b/sys/dev/xilinx/if_xae.c index 8890a9a04b9e..00a9ef387177 100644 --- a/sys/dev/xilinx/if_xae.c +++ b/sys/dev/xilinx/if_xae.c @@ -256,9 +256,6 @@ xae_xdma_rx_intr(void *arg, xdma_transfer_status_t *status) static void xae_qflush(struct ifnet *ifp) { - struct xae_softc *sc; - - sc = ifp->if_softc; } static int @@ -748,9 +745,6 @@ static void xae_phy_fixup(struct xae_softc *sc) { uint32_t reg; - device_t dev; - - dev = sc->dev; do { WRITE_TI_EREG(sc, DP83867_SGMIICTL1, SGMIICTL1_SGMII_6W);