From nobody Mon Sep 30 04:45:58 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 4XH7n335cGz5XjyB; Mon, 30 Sep 2024 04:45:59 +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 4XH7n30xfCz4G9P; Mon, 30 Sep 2024 04:45:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671559; 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=5dUecypT03ROYuJ+2nsOCsEelZ3+bJFmfXEqcD96Q14=; b=G+Fc4i4A170sN+UUnd/D2Z7uqs6O/ny5bjUjFeeAU8xgsn5Z1c+6IYKdUJYHM2cQzazxCO 0DgWmpSqg8xwiZTxfE/hlxvNMVLeBIqvuNph4dQez+rnuCKSyDOKI6I1i0uodB98WvNUNc FTYav/2wXV+n7Imak4mv4EF/2hkiy42OZL2LRHFSWg5ZNa2v0ElD9Oo+My67iG51IRRCfO biTdyiD6Pr4hX1ShXmTudA4FkCgCBSSWjwuZQQbkK61Epzo1VEsC3DmiLhV7US4ln3dM12 4ceTYpdc+Zc8YnD55Ac5FcZEMidlNV904qd/zVumyeS4xGYLuv8y19JtEGNnDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671559; 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=5dUecypT03ROYuJ+2nsOCsEelZ3+bJFmfXEqcD96Q14=; b=uWqvBQbcjewa+9xhBhJr7pa9X5x05SQwKokm1qXbYBuIs1DS/K5cBMUmN9B89N7eohwdXi EjCMjYVZ1jbkMSSzkpPtE6icwnnli8dtTGgx+1RRGQXT+Z4rbTx2AhAW/ubCdt5wRt6mb+ qB4/VlYsZL0ofL6iOo+BGyjeY4JL2hsDNVkVqBWVpSsMxsVStsrbMqoR4hPqX8RVLpf0j4 jfIZoxkKoCHNkB3BO6Iapfvl1ee5v96OjTk3EpBS1MCjDsyWdTZL9r3YSjsKGWx39dv23d QaBK2ihs4mdTf/u2fm7fmIz7LZgaqmiOTmpTRXxhuX2KiurEsxTm3B74BibdcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727671559; a=rsa-sha256; cv=none; b=ZtVHStWP4pVjHE9Y/v/3XdRRl90Z7f/8nindZm6ZmYItuOpzgYJ10nR7DJHLqS9lQJzsgp j7rCOVS2N1zTAE8tS2UY9Jz/c2EAhz4Lv66uRUBjKdWwdQJNcDpYWfaDj72r7PvDmQYBmz 1bJcnP13DXZUhvym5X5hMLARpGT9Z4G7Ti2pEDHIw4h5uRgn9a6tPcyu1++I1lMZDKKvBj veokUC2eG8zYrxoSsorXgXqOiRs31qGzwsF+xoccsoePQNO0HpdG6Hl1KVuL83Dz6tDZkd SX+kjjUdtsswsSILItdkHEMG79py5aAnHHxQl70E9n9PXcvfXPRdwevEKCZCpQ== 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 4XH7n30YYNzfFx; Mon, 30 Sep 2024 04:45:59 +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 48U4jwvn088458; Mon, 30 Sep 2024 04:45:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U4jwVv088455; Mon, 30 Sep 2024 04:45:58 GMT (envelope-from git) Date: Mon, 30 Sep 2024 04:45:58 GMT Message-Id: <202409300445.48U4jwVv088455@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: 39c35f6c5445 - stable/14 - axgbe: Stop checking for failures from taskqueue_create(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/14 X-Git-Reftype: branch X-Git-Commit: 39c35f6c5445d09b51a3fd366e8d64434b8fe7f1 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=39c35f6c5445d09b51a3fd366e8d64434b8fe7f1 commit 39c35f6c5445d09b51a3fd366e8d64434b8fe7f1 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:36 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 04:44:28 +0000 axgbe: Stop checking for failures from taskqueue_create(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45853 (cherry picked from commit b29adaaf44f6cf9433c782bbeeefd12d74d395a5) --- sys/dev/axgbe/if_axgbe_pci.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/dev/axgbe/if_axgbe_pci.c b/sys/dev/axgbe/if_axgbe_pci.c index 7a7c8539405c..5922e29d33a8 100644 --- a/sys/dev/axgbe/if_axgbe_pci.c +++ b/sys/dev/axgbe/if_axgbe_pci.c @@ -540,11 +540,6 @@ axgbe_if_attach_pre(if_ctx_t ctx) /* create the workqueue */ pdata->dev_workqueue = taskqueue_create("axgbe", M_WAITOK, taskqueue_thread_enqueue, &pdata->dev_workqueue); - if (pdata->dev_workqueue == NULL) { - axgbe_error("Unable to allocate workqueue\n"); - ret = ENOMEM; - goto free_channels; - } ret = taskqueue_start_threads(&pdata->dev_workqueue, 1, PI_NET, "axgbe dev taskq"); if (ret) { @@ -560,8 +555,6 @@ axgbe_if_attach_pre(if_ctx_t ctx) free_task_queue: taskqueue_free(pdata->dev_workqueue); - -free_channels: axgbe_free_channels(sc); release_bus_resource: