From nobody Wed Apr 06 03:42:55 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 499081A91550; Wed, 6 Apr 2022 03:42: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 4KY9MN0Yqlz4sNn; Wed, 6 Apr 2022 03:42:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649216576; 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=hcCwzpNfC21dBXuO9m3/8BIk8Q6adfffhSTE3TIboqw=; b=FDU6b1O60Byp/H8XQOilbl7ITYbuT2mINUVfFDbhnuZWBe/iKMf7BizlaCoKTRJtQqMets S8/3OGBMZWVC1z7f9oLxx2B9bGc31OVj9drIKUZBVfM14VMsF1OAi/WCsHVpVnWYlPG/N5 R0/v5sJpVVY3NMls4y/nGPcIB+8XvpDWvVd1ODEFiX2iWWIPX8ysdm0/IOagjoO4iXU19n aQh40RMLr1eJdQIfh/V72IE5WvlHQ264KxbLql0xPOX99umZKYN23vvRrl1OeET/nXLn1f lRNlLbwsQJIBErQLrxkMNKX7Ap8kBVyT17BpLaHC7+vtabE+6H1BKCh4VVjcUQ== 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 837CE13D53; Wed, 6 Apr 2022 03:42:55 +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 2363gt8d089137; Wed, 6 Apr 2022 03:42:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2363gtcU089136; Wed, 6 Apr 2022 03:42:55 GMT (envelope-from git) Date: Wed, 6 Apr 2022 03:42:55 GMT Message-Id: <202204060342.2363gtcU089136@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 20669405d282 - main - flexspi: In flex_spi_task remove dev, it's write only 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 20669405d2820d8f1541b93be6c4adab446b7a83 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649216576; 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=hcCwzpNfC21dBXuO9m3/8BIk8Q6adfffhSTE3TIboqw=; b=uQuhgnNAs88Cx3QARMEFxTuD/SoRTiiuThiUxETci+0IkTnYzrid3YvrnNquK3nMRqWFCm 1KHiYmrbPLo7BmtBxv0qdZYMzHSFjJYyV9I1gBWD2aHIoODdCS3D8afHA8f/GKM6EaXF6d m2XzfzSeP/6StrxsJ54WX5RmpIBd3BJn9DNQoMiAt8TXidL8BpxOP3sYDBFy6enMb432B0 yTMQhYvIP9CSQsX30W7JmDc7ldQGcxHRODm0fZ7bby/R2w//JkZdKfKWPGvrO4x9lwXVf6 G6VoyfEiHuNUMkOgIvSR5oTw2xFnvtgwGgmpKbud1jLOzHVCMpu9AApzrXEtcg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649216576; a=rsa-sha256; cv=none; b=tri8ECxLzuFm5F5x9K2kUQx1NtMnp6IqiaSTkN4SJ0czvoTEoBT/ONVWYoU/2YbIajUJZh XPdcbgtcOWwJA3nKryIc6bg30IQM/OLZUIBlkI55RfzMuLCp/Jmalv/OU0BEdTjN9URlia zCmNdclcSq1LM+jcblqVnuAhFeoajhOtvTkiC7D9Mk9Np4U5RR9CftYMmge5+Vko+FOGIP 5ZwmWpH3rC02+zGci9eDBBneIGxsC65Ay3SQmp5KcMlWtYZ+LQ55PdH49CeILGB1EhvCAz MP0U/bD8j4+TRU3lxEwBNsAhs5YNAekgsXEfukgl5zjl7BxrBpz57QDdM6zSjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=20669405d2820d8f1541b93be6c4adab446b7a83 commit 20669405d2820d8f1541b93be6c4adab446b7a83 Author: Warner Losh AuthorDate: 2022-04-06 01:58:55 +0000 Commit: Warner Losh CommitDate: 2022-04-06 03:42:05 +0000 flexspi: In flex_spi_task remove dev, it's write only Sponsored by: Netflix --- sys/dev/flash/flexspi/flex_spi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/flash/flexspi/flex_spi.c b/sys/dev/flash/flexspi/flex_spi.c index fea3134730f1..0637d7f846c6 100644 --- a/sys/dev/flash/flexspi/flex_spi.c +++ b/sys/dev/flash/flexspi/flex_spi.c @@ -937,11 +937,9 @@ flex_spi_task(void *arg) { struct flex_spi_softc *sc; struct bio *bp; - device_t dev; sc = (struct flex_spi_softc *)arg; for (;;) { - dev = sc->dev; mtx_lock(&sc->disk_mtx); do { if (sc->taskstate == TSTATE_STOPPING) {