From nobody Tue Sep 03 10:27:36 2024 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 4Wyhdj2HVZz5MkZt; Tue, 03 Sep 2024 10:27:37 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wyhdh5yQqz4tRL; Tue, 3 Sep 2024 10:27:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359256; 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=OEfdkK3GCsBWzEqfkuO5FOhVxA9vkQxINewBMvOX33M=; b=jcolKhgX8cub/eL0+dj3wVyooaTv5IpGBu5StGw8qLiBONiW3GSc3InUOr43tV4St1qAD3 3sMZYDYIL0k5a02bnVFsfyjLTLsJdkvL0l6j2t4LjzRp7dQSackAi169o0bR8vwber/WaI 8nX9gqQUTW2XFKvrg4u2zNawB1HU3Bo88apMl1f3Y/Ym64GV4+O/urdvHo8LQELuTT8j1c OLdDoJJXAdVX4zmd1XeCVi8wtGFEp8PuOHJI63LrrZsFCTanKIfdDeQ9v+geuRmP513Ytr wmhcibArT5FM1dw/pEXWgrTbpiU8k4nEJ2WmQaTgGT7MRkFm/WJhQJHUTf489w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725359256; a=rsa-sha256; cv=none; b=q0M1F0YtF35wRgAV/YVOBmURp72m1+clOu58tStgM60SFm4cZhfQw6iVyaJRZB7PSdp1ZL 03f7A2GCgrKZtStsSJjsv0kLD0q67qFaLkGBLcF5t/HByTNfov3XNKYn2De7yBirhXgsmZ RwDjYaCxSIRXx/SJ9x+9XUP/GaNUbRxH6OIbtctnYB77trnvV59GRYCiJBUzJHknE2NFdS nVX/Ex2f5JrcLtDACwv9LzcBRs85xZtdgxr7Fz1IzzMOUCRIlP7YENMvw61I4HZWr0WYo2 X3AtWl5xb2P/thsiGybDnHa+0xWaASabQgGMWUksjvFKfGqLIHIX7+ac6HxBTQ== 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=1725359256; 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=OEfdkK3GCsBWzEqfkuO5FOhVxA9vkQxINewBMvOX33M=; b=Gbhk5d9x/fkYRxzKnWLpeMrbfPiupQNsZqt9LjCLKm1nk8+tBt42ANK8OuHZ+qt2pQ0R5P gtB78zbonqd0vt/aXwPuAbCRpDNODS6hXRreFxD9DqZ06hKqJRh4BKXe411UjEhE2deNbq SsjRyLaopxbLqdrLMbOGlzB51rPAD30fTu56Vq755B2S8otpZxQujotGOf/eoFWL40G3qI y7cOuxLAAA8THG0LnZx2u0GOPpasgts2XceS0jUuKACOJ0fKvqfZqbrfxMAA6XUUrKhLdw 9dsooL4uJ600MznhKzeiXej8AT4kExXZJpLBZel5JKnU2acafrIXGJPSnC1bdw== 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 4Wyhdh5X12zcbG; Tue, 3 Sep 2024 10:27:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 483ARamc011115; Tue, 3 Sep 2024 10:27:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483ARaw9011112; Tue, 3 Sep 2024 10:27:36 GMT (envelope-from git) Date: Tue, 3 Sep 2024 10:27:36 GMT Message-Id: <202409031027.483ARaw9011112@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: f5524be39e26 - main - ale(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f5524be39e26e3d7fb774ffe7711602c676a8b9e Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=f5524be39e26e3d7fb774ffe7711602c676a8b9e commit f5524be39e26e3d7fb774ffe7711602c676a8b9e Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:35 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-03 10:25:35 +0000 ale(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45853 --- sys/dev/ale/if_ale.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/dev/ale/if_ale.c b/sys/dev/ale/if_ale.c index 5b3ae438810c..e4d61e636f8b 100644 --- a/sys/dev/ale/if_ale.c +++ b/sys/dev/ale/if_ale.c @@ -655,12 +655,6 @@ ale_attach(device_t dev) /* Create local taskq. */ sc->ale_tq = taskqueue_create_fast("ale_taskq", M_WAITOK, taskqueue_thread_enqueue, &sc->ale_tq); - if (sc->ale_tq == NULL) { - device_printf(dev, "could not create taskqueue.\n"); - ether_ifdetach(ifp); - error = ENXIO; - goto fail; - } taskqueue_start_threads(&sc->ale_tq, 1, PI_NET, "%s taskq", device_get_nameunit(sc->ale_dev));