From nobody Thu Oct 05 15:34:55 2023 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 4S1bGS2Cdnz4vnFf; Thu, 5 Oct 2023 15:34:56 +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 4S1bGS1GLgz4cZT; Thu, 5 Oct 2023 15:34:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696520096; 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=XC3lSE7vEa/0noN65hfSIfhgtbcR8Dz4llqfAGWnsek=; b=GhsVXb4nc+FUpAvTxDwUm77YWWQh0ADiX0RJ6nmqLnyqMmrCcYGoOawzcWJCx1/QrQGNKK qD8g4M3a95VZQuhWdjgrhS7Eu897WPsXSXMteBa1rq6pSFDUkO9Ep1u0BIGlJyu/D3a7rN MGFn+xw32s8CH6Tccss/Iv84qY2NJXBrJ2rC0+c0WxJxAc4p67aAVv4vYIINLOHKMBX+4d 36IE5/4Sx9D/JfeeP9NPbe975/Oik/5SeAsve2WHJDqI4lv1OnNaXRvmtN06Lhz1/OIIYs Dl6vTSprnv3cuy4f9fk+KSnGFwUNC6polkcPgj+jMINhf00o+08h6vGF1958qw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696520096; a=rsa-sha256; cv=none; b=bGiJi6wRdtmYloReT3WR3mWMavziywUeMsIaxE8q3FFbEqvDL1bql70YOyeN7NYgeZIF07 oPGGmVSjHrLdTFiJXajFPJr2yQ8+hTzNSYSYIk8BWVa9GOJXYGaG/9AKRmmCgQV1BgrOoh LCHjgLJ3/FAOhrJzSBRW8mLppeLSVVNsSQBb/DxItUTB+3D2zUu2AVbVRsAQwqktOyhZUm eFKhxVuZpNUmLyxQDycwzg65fsv9hkpLbAntqikinvtWHVoTqVRNiz77E9djTT9ocWRDGZ c2kmuCJCdY5/5n/GScOE3PyZ2K0+PAzEbmipdyvV7sWPYo+dGkSis8VAMBV7Zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696520096; 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=XC3lSE7vEa/0noN65hfSIfhgtbcR8Dz4llqfAGWnsek=; b=cGmiY8ZexhXxloqty+S7V8M/scWlx/wxwV/UrH8CDPpfiBNAaveHw3H6SrPUo5pb6XunnS ScbiHhF9JsyvpYjjUSQ3rCWMyU8f7nYecEK3quWRHWGCmVm0CAwW/ALhJYOnoyuhuoe26K M0zBkVBApUeP3OgDSuASd5XNgoG88QrcRjLhPaz93BTFJOrj8j3FCJOyh2eKqa7+yfNQrh uqEQZ0cw7Z4gHpc+LiFmWfW9yAEuKu5rtIYKCU9J0rIjS8HKupambmcqelekYBXGKcMoSx 83mASL80sUQ8k04sm7lzsOu+u1Hr17UKOE5F/OpGVh1NNkHEVCeCvuB667AIYQ== 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 4S1bGS0KT2z1PqT; Thu, 5 Oct 2023 15:34:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 395FYtFx012110; Thu, 5 Oct 2023 15:34:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 395FYtaL012107; Thu, 5 Oct 2023 15:34:55 GMT (envelope-from git) Date: Thu, 5 Oct 2023 15:34:55 GMT Message-Id: <202310051534.395FYtaL012107@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 27f03f1608f3 - main - dwc: Remove unused GPIO_ACTIVE_LOW define 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 27f03f1608f35c59d4f05e759729fa58685db8aa Auto-Submitted: auto-generated The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=27f03f1608f35c59d4f05e759729fa58685db8aa commit 27f03f1608f35c59d4f05e759729fa58685db8aa Author: Emmanuel Vadot AuthorDate: 2023-09-23 16:45:04 +0000 Commit: Emmanuel Vadot CommitDate: 2023-10-05 15:34:38 +0000 dwc: Remove unused GPIO_ACTIVE_LOW define While here move comment block above the appropriate functions. --- sys/dev/dwc/if_dwc.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c index accc1b6949cb..6ef9fb8513af 100644 --- a/sys/dev/dwc/if_dwc.c +++ b/sys/dev/dwc/if_dwc.c @@ -1488,12 +1488,6 @@ dwc_tick(void *arg) callout_reset(&sc->dwc_callout, hz, dwc_tick, sc); } -/* - * Probe/Attach functions - */ - -#define GPIO_ACTIVE_LOW 1 - static int dwc_reset_phy(struct dwc_softc *sc) { @@ -1586,6 +1580,10 @@ dwc_clock_init(device_t dev) return (0); } +/* + * Probe/Attach functions + */ + static int dwc_probe(device_t dev) {