From nobody Mon Sep 30 05:08:42 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 4XH8HG502kz5XlvB; Mon, 30 Sep 2024 05:08:42 +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 4XH8HG3gFhz4Xf1; Mon, 30 Sep 2024 05:08:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672922; 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=4HBQJVo+TDDjZeYkO0Un1IVjWuRYRZIhuGpLvVzoZzU=; b=DSoA2AXzrRxnhzzVoTtr/3f7lqPUjd5jFXYryDYqv77ZnEDo0lw/M1LxpkBBKWn/HJysAO gdxirobq/QmX/eTXRc70jzSfOG/rYEPWWqb+Hb2xV42ajHChhwRpppl6MQesLanRIF3uUG Rnw6O4TL1G7+YDQGmUgFvHz7DC384iWcqRkr67cIC3yQID8b61n8pS0dbhWPjvRii4l5AH nNqMsfXWUgGM7S+xsv4UFhQaRIumJgchfIik/hgrGflB2PL8YhPVc/ps49vhB2KAqgHlb/ M67oBh2Fz6wL0jIE7dJVbctmgES7sA2wZwhQD/1DSwwJ9mbQZTy7KzxcDRgtog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672922; 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=4HBQJVo+TDDjZeYkO0Un1IVjWuRYRZIhuGpLvVzoZzU=; b=cQxbyxPqYns6UzXPeccXghEuHwTLF5gkl3TehEtrwGZpS5ieLDvxqVmt3WE+8svz9CQBDZ fddsgX0kGeXpbNHWPqA6IWoyNFVvy0fcOx6vqmfJDB5PKapooevfNvisZKahwedH2YjF/B T5Zr0/naZhkQOxck9vDx6425NsFQVM+ySKRDi3vRjDvACDhlmhIXAvEH2RZtEp6CgsoRlf 7XRqZcC9z5qGlT87/XL4FbJnQ/B97ejUapRN/QzegTESrWh+NZS+fze3aIuRXwu6hOoEGJ /d8F5dhLkbFzwiwgzGonlqI2U44ldWOwKVUKmfYy2hFSAMlmqz/PORXzD2FcWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727672922; a=rsa-sha256; cv=none; b=UR2cWl7ed3TORGrfHUcPT/i+wPK92eqyKaGyBeGjdUzx4urK9W+srp2kI1VVkP65jLLv+I LDAMucG1dBqj2jNwgPmnWCrkmFa0x1NWCsUizIjb7riqLWGpcytrENcmkU7PcqDMFiWoDs nd+1yFLlkE3/XKdaEjA1k1sLG2e4gdq6P0nOu7jKPHcOc+9pBex/hWlaIdHwXBZHJoxM22 yBbkwoSJMQpWDXVMZF9zPPpttdQ37rt37x5Q7sWUZI+UJHXrquCe0chlp7PjazhNeQAshl TJ333Gm43e32TiBMs60h6/YmIffrraH9bUSbLRlFfByZ3oKHADDuvLU8zxLTqA== 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 4XH8HG3Hpszg8C; Mon, 30 Sep 2024 05:08:42 +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 48U58gLo025863; Mon, 30 Sep 2024 05:08:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U58gRj025860; Mon, 30 Sep 2024 05:08:42 GMT (envelope-from git) Date: Mon, 30 Sep 2024 05:08:42 GMT Message-Id: <202409300508.48U58gRj025860@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 8b872247de88 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 8b872247de889c9b8faa9bb309728a83e993de0d Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=8b872247de889c9b8faa9bb309728a83e993de0d commit 8b872247de889c9b8faa9bb309728a83e993de0d Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:35 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 05:05:41 +0000 alc(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45853 (cherry picked from commit 0cd3976d076218ea10761dc3f38ecf8549768ad5) (cherry picked from commit a6c873a822b5dd51861616324abf3ba466958c7e) --- 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 edd3981fba7b..c4e66fe8e1be 100644 --- a/sys/dev/alc/if_alc.c +++ b/sys/dev/alc/if_alc.c @@ -1627,12 +1627,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));