From nobody Tue Sep 13 03:10:50 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 4MRT4W1bs5z4cBHH; Tue, 13 Sep 2022 03:10:51 +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 4MRT4W1283z4HSZ; Tue, 13 Sep 2022 03:10:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663038651; 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=jA6SVsVEX2fpACePzkUWxOE/knePZZTNl0iYAO+vnqA=; b=K+ZpEQy4OcDPb6325QWk2G34diIEB8Y43ZBytQAr0USJMdA7y6ofizeg3KSnTm/l0APvBP ZTPSpyp2xpwV1U6OIa/VUfpKzPLBRW0ubhyqq3G4rXoQAdBP/wkRbu05Vu/JFC6F2c/hvv DKNxD85x/Qx19gqlJr9wJiR3qZbat6TTDiAPz0lSM93Er8zFqN/IDZoI7Wtbrfi4DrJez+ GNc14J4OwBUUJkaijteyWOMrzUj4g9FWrH73SkcuHXJdY9HlUlGAU5a7qMoBhbnaWH/wNh m701ooodf77Clk+SDdF8LbfMTldegcupR7fXnzXRLCaR/ApEIZy3CtVjePW0Pg== 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 4MRT4W07Jfz1BR0; Tue, 13 Sep 2022 03:10:51 +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 28D3Aohx069751; Tue, 13 Sep 2022 03:10:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28D3Aocd069750; Tue, 13 Sep 2022 03:10:50 GMT (envelope-from git) Date: Tue, 13 Sep 2022 03:10:50 GMT Message-Id: <202209130310.28D3Aocd069750@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Adrian Chadd Subject: git: f060362adeb4 - main - ipq4018: remove write-only variables in USB ehci/xhci bus glue 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: adrian X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f060362adeb422e1a70c2ff377ddcba9a244e527 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663038651; 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=jA6SVsVEX2fpACePzkUWxOE/knePZZTNl0iYAO+vnqA=; b=Du6PQ7Aszfki4Hu9jfeTwfqnb1DYNL6qkm6e2rlhQiBllHa/sr1Tm34K29C+uyI2QJMMSb clwZcnssOo8mYyF0PCBLYGE1dFpWlld6cJfr1Sq7PMBr139A4vmkhN4p8ZdkTS/METs+g0 s2r4INmuQstC8T+fGS5X4c/FPWSp76LYHfRwdrB5JmJM1sE7oRYsMxwPW5gscfJFpP8GFL R6GhBpX5r9vQSj6+lfbR60A3wBt6cr9GCS5CqDliQTTdeuhIKrHNABMAmbJ5a7C0PjFx6N 4DsnglklYaLglbvmGsSAc2ws0wYIrlPWRat55n748NJJTvt+kL2a0LgHaJ3R+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663038651; a=rsa-sha256; cv=none; b=jjVjXd46GuUSMpT0Cx1VrisUz5L3sNd5BiX5rdbC1mC8R0fSD/EbentBsEuqsNyIgaTV15 8CjQ7hc3u6OOZEAOXDsgh1FVZFDQ8eiGf+OoF5Ts9XQHwF8JvRgdsZO4HfEoDwEV0nKjZy S/J179F2PBblqdzeLRrhpzElW9FAtMovMKUdUJdZXYh4T78pY/gfAcyFAHxWGHUmjZr1Jb +ZFtWMO7TCjtg1NvPLSvK/3c76puXd+4v+/EDDbQDw4K2lugNwRIp7Ql15gcJfYdDbqTMb ysE/L/VrY29DzLmDAPB6yVXYovQiI6CMf86O0wa4hFAXVEeyr+soJBC+1MqWBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=f060362adeb422e1a70c2ff377ddcba9a244e527 commit f060362adeb422e1a70c2ff377ddcba9a244e527 Author: Adrian Chadd AuthorDate: 2022-09-12 02:32:29 +0000 Commit: Adrian Chadd CommitDate: 2022-09-13 03:10:24 +0000 ipq4018: remove write-only variables in USB ehci/xhci bus glue Changes in compilers / warnings/errors caused this to stop compiling. Delete the write-only code. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D36532 --- sys/arm/qualcomm/ipq4018_usb_hs_phy.c | 2 -- sys/arm/qualcomm/ipq4018_usb_ss_phy.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/sys/arm/qualcomm/ipq4018_usb_hs_phy.c b/sys/arm/qualcomm/ipq4018_usb_hs_phy.c index 4d3d0d70a9a3..611db46e678d 100644 --- a/sys/arm/qualcomm/ipq4018_usb_hs_phy.c +++ b/sys/arm/qualcomm/ipq4018_usb_hs_phy.c @@ -212,8 +212,6 @@ fail: static int ipq4018_usb_hs_usbphy_detach(device_t dev) { - struct ipq4018_usb_hs_phy_softc *sc; - sc = device_get_softc(dev); return (0); } diff --git a/sys/arm/qualcomm/ipq4018_usb_ss_phy.c b/sys/arm/qualcomm/ipq4018_usb_ss_phy.c index ad7ff8a5ff44..2b55d5c44500 100644 --- a/sys/arm/qualcomm/ipq4018_usb_ss_phy.c +++ b/sys/arm/qualcomm/ipq4018_usb_ss_phy.c @@ -192,8 +192,6 @@ fail: static int ipq4018_usb_ss_usbphy_detach(device_t dev) { - struct ipq4018_usb_ss_phy_softc *sc; - sc = device_get_softc(dev); return (0); }