From nobody Tue Sep 03 10:27:37 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 4Wyhdk1RQ2z5Mkm2; Tue, 03 Sep 2024 10:27:38 +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 4Wyhdk02G6z4tTl; Tue, 3 Sep 2024 10:27:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359258; 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=suDeeFlsKcEcZ81H9V69TQc3GVhtoIF5tQ6qVSRoMMw=; b=q11fdhoxhn2Xvk6PmqmbGoJzbaWV9e53T59hcyXACxtfBM11KnM+IjRhYsRkhox9izccyo PlBNj7XOWggCZ3wSK1jZmS+u0vKjicTtituNGnW8XVgUHJ3I5KtPgnwTkV7iPQ8Qd/MNz0 vLjlChE3Z1V2E0SZl6ObPTakAowi0X7/SAri0PlLheNUr0XTFeMNkh8uzxdkTx6xoANrDB zg3DF0KSF/HAGq74YimdOzuK5nuMnWcMs1fsmnCBEgjhGYXjPwgZHzAW5Ee7tOc17nShGl a2yKSXZh9pyVEe7Ry47uG+fk1HNJPm9vJO6kCooBTL7rBNdKM8fLnfS44pwssw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725359258; a=rsa-sha256; cv=none; b=ngz+UT/ZIoATljvERl+2d7IUgp+3XkLbflvOG9GVHupNHfFIHrZhpQnPAa0sg5hDPyGG0S gVgbmmbwAafZV7vEzEXNlHg4kuwbgPOFgAyWm8shuV5YwV0mahsXsMHBgcjTke8CRQm32C pVTWbM9uAJ7qed4nAa2wIk0Jj5e3avFN50W7fAM2RqdQSIvaQOqZZLYiQxS1/nYvIqpkce Ah6M0HI5sJI5OHalBxiKrIOmFfgAXF65NKRIuSOx/zxcUs0075UIRWFDwyKCNAq1FGAeVz mVXv/5hNSlVvysRmX7Lt8LqZyxyOE+P5cT00+FQRWfvopIYelzjIA7TGHYFhig== 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=1725359258; 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=suDeeFlsKcEcZ81H9V69TQc3GVhtoIF5tQ6qVSRoMMw=; b=XYLoNhzxMAcYJLzjQpli8JefKHHT6uf3SSG/u+zLz/1VMKFkTFY9mYszTz/4BxpW2Nsu+t B8Q1zY+lOflOPGtJz7oBHAhKGD4lZNCN0P5MgzhygMjrqYQJZ95PArBjM+SXsNXHgjNnFj eyGwGKO0C49xS/rXtzNxlaFpsxgOFLWHFB7iJ5Go+JW/2T/9BQp37DgUkTUg8cWqfePBCU 0YSTe6LNUYyfaNOnE+nm/kWGpPzNucNp86O2wqHCLpznQEYjuOZLcX8p2uUXCbkPWD49Q8 HpyEi6R7HXltN4vcpAOwsrpqqSqoT/kXUORDe5M6IzCZCTtIpCb+8DmvXCIyiw== 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 4Wyhdj6h0Gzd17; Tue, 3 Sep 2024 10:27:37 +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 483ARbEt011163; Tue, 3 Sep 2024 10:27:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483ARbec011160; Tue, 3 Sep 2024 10:27:37 GMT (envelope-from git) Date: Tue, 3 Sep 2024 10:27:37 GMT Message-Id: <202409031027.483ARbec011160@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: b29adaaf44f6 - main - 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/main X-Git-Reftype: branch X-Git-Commit: b29adaaf44f6cf9433c782bbeeefd12d74d395a5 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=b29adaaf44f6cf9433c782bbeeefd12d74d395a5 commit b29adaaf44f6cf9433c782bbeeefd12d74d395a5 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:36 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-03 10:25:36 +0000 axgbe: Stop checking for failures from taskqueue_create(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45853 --- 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 320799e77188..d3078a1c33c1 100644 --- a/sys/dev/axgbe/if_axgbe_pci.c +++ b/sys/dev/axgbe/if_axgbe_pci.c @@ -561,11 +561,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) { @@ -581,8 +576,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: