From nobody Tue Sep 03 10:27:35 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 4Wyhdg6JWLz5Mkjw; Tue, 03 Sep 2024 10:27:35 +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 4Wyhdg4sm3z4tHs; Tue, 3 Sep 2024 10:27:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359255; 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=WGUGdKER1SjdnM5If6/CB+gObyV9O2prkDPXnTh+CfE=; b=jz1tM0ZlmfJUXOadd/PKty5SHH6N8juhbHTjFL1Ah410nWpGIbYna/unf90tlNQWB3wbCZ ymsb4jkLjnua3t/Yv8TaSlw8nsb2bxz/TnR+7ZZ9ERL4I+N/cwVqqnUcMrktubnmmzeTbv xmInh1bgBRiWmUNLcTgKlRT9eEEMYTWViSmrkVvBRKYCh+jZa6SPANwjUB6nS5XVDVUMp/ zmFVmnuvdGkLwquBf41xO1nUVrb8Sbinr0Lxj0NDHyTm3uhVtUvanMUPJxFdj8JdE7x3Lk ULBbFCD8o/lXGWu0M2fJqu6vgx2Ve4I8wfxdpaZ2Hi8yozlkjDpFQqJCIhvt0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725359255; a=rsa-sha256; cv=none; b=SoVRwDwpv1jkM/TPCPpyp+MXZ2encHN8+RlKp2BxpicIb3cb/kvkLaQDlXoUBWwtJH3bkG MZ64IULZU1MQoWiC+TFfRRvnwoE72gQydmTketM26VGuc+Z+rbv/YNv2xte7KvYFPu6YlY wGt48+NIcvJuSi76QMz7tAa5laU2hqeq1PPvC+h7A5qeavWerAGY2ELRPi28LLSO9wDdYO iM1HD6gk1G6/UgoajaWtU2w1XVGqPRIN9JbkQ39De14L/dt73Npwf5OLkXygVLK1r9LZ+K b0gnVVXLkBlud57QN7fk0hFPhjItRCBufqc/XPBEWHazwkM4CQDlVmUy7afH2A== 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=1725359255; 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=WGUGdKER1SjdnM5If6/CB+gObyV9O2prkDPXnTh+CfE=; b=J2DXNEft6H2Z7m2IxgMzOUCy52mYbhQRKRcsn1p+JkDXolt8cPlMDfUdI/Fk4U1l2nyWfO BgRxnj3m/0Ag8XQE3T9elAw/YgSU5ZpKoG9otxU9mFcogZvrkCWpB2hOSuvS42Ce3x0j6N XgQDGFIZv6pHSeoeQfn0a7h7Qv7iJS7d/aT6vonJzLdrzEZCIOa584XJkdZBjgeELcibjM XjUe+VvMSo+yEQEaGuku8HfIBD/GwUYrr1VqK2SXuiGzHOsA0WU85E3f8F36mOKSobItXQ 2aZP03kw4k/u2uGvQvumFzXi/l0STJ4NgQedcH3spi3epxSTIFsRqtsN3uzvSg== 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 4Wyhdg4QFWzcxt; Tue, 3 Sep 2024 10:27:35 +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 483ARZKB011064; Tue, 3 Sep 2024 10:27:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483ARZEG011061; Tue, 3 Sep 2024 10:27:35 GMT (envelope-from git) Date: Tue, 3 Sep 2024 10:27:35 GMT Message-Id: <202409031027.483ARZEG011061@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: 0cd3976d0762 - main - alc(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: 0cd3976d076218ea10761dc3f38ecf8549768ad5 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=0cd3976d076218ea10761dc3f38ecf8549768ad5 commit 0cd3976d076218ea10761dc3f38ecf8549768ad5 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:35 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-03 10:25:35 +0000 alc(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45853 --- sys/dev/alc/if_alc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/dev/alc/if_alc.c b/sys/dev/alc/if_alc.c index 859d1214b46a..07ba02c33c88 100644 --- a/sys/dev/alc/if_alc.c +++ b/sys/dev/alc/if_alc.c @@ -1639,12 +1639,6 @@ alc_attach(device_t dev) /* Create local taskq. */ sc->alc_tq = taskqueue_create_fast("alc_taskq", M_WAITOK, taskqueue_thread_enqueue, &sc->alc_tq); - if (sc->alc_tq == NULL) { - device_printf(dev, "could not create taskqueue.\n"); - ether_ifdetach(ifp); - error = ENXIO; - goto fail; - } taskqueue_start_threads(&sc->alc_tq, 1, PI_NET, "%s taskq", device_get_nameunit(sc->alc_dev));