From nobody Mon Sep 30 05:08:44 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 4XH8HK1dsVz5XlvH; Mon, 30 Sep 2024 05:08:45 +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 4XH8HJ61ysz4Xmr; Mon, 30 Sep 2024 05:08:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672924; 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=CIQ+Tuv4LX7RiZg38HD7kGWdhsZcLvi2QBSB3DtDxJk=; b=KEMTBG+g1rzUjQKsmCs+fbn71HL3fC5zJwox38GwFu8E8N6I3w33S5tvDhZIWLCye0w0Cw d6Zafl/BkH03E6a3SychJd3tZyGXFUSZBJ36+jGCFksj5gnI/eGRvkkgtjPDBh+JO+t5Ix GHHn0XnZjeMK76mhVg3gdOuJo4f66m0VFqQDHwHgxlQfDiBAMY6hR+ANy1z4fNhnkozdKo ly1wXT7g6JzJsgtIlZjuoTa6n1UwS2sOtdzduuOgc7ZOUGSSiH5Ad/KYphstJnw04M3RqO PXVhIePBvBwU3UaE+u4rNkVkBkPJoZcBnW2RjJkvZLxLGLqyHLSJoCMhHBoeng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672924; 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=CIQ+Tuv4LX7RiZg38HD7kGWdhsZcLvi2QBSB3DtDxJk=; b=RNVa/0m0W8vvBNJwggzFGKXbAdr2QgQd9DksCdfdd8NkPhIjnF3x9R1V5xSI9Yk7WpY1nx LXdytO5C1P7ekgBbae6h8o9Pubxkkzb65+vJaiKTlmkL78A2Fkq1l9HWc4OfBfiwsLeLuF uN/rWEPIbWFi0/MxyQb2Gs+crhy/JcfN9efgYmqJZgmT+uIEHslIjRONkVhd0Ds0oaVjrN 23QyECl318iaZRokL9zZKxg+e4mzAR/UEKXvu6NgorbDGlANO22zpPlIyamKcfIx63cmG9 bsHGABqSXnquJI+EIym1w+YFZziunIcocW+mXURdnvybec2aGaCaZtKXx3O0sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727672924; a=rsa-sha256; cv=none; b=O/CZ3GhMwnF5tTo6WK3uu8sQVaOGM5wSmesJjTSGsiTkHWpvWBfT/qpYBvBvD/bRG21uRV z00Ryzi4ZTlCdp+Pw/Rbx3HX+crJaH9vyJhCaaX8n7LOJtHM5++7OColYQwLfxEo21J7jN ABbM9knKy3kr6KmUW/3U/tHDUdK0jkG3P0Z4C8tmFS3+/PdjoP98Dtkgq5KwoZyctQ3vu6 PQOzxQHGEl9eZ1szi56QqgtV8h0XS9w/yJ5fGy86/v6x2A0qVkL9Nt7zEyknpcTbKE5b2B 27MvGSfdNz7DVqIpGHoWq2btFmwyBHBcamAdjjZh4fC6FJGfpyIbhLefoRuwmQ== 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 4XH8HJ5dtxzgDV; Mon, 30 Sep 2024 05:08:44 +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 48U58igV025965; Mon, 30 Sep 2024 05:08:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U58iCh025962; Mon, 30 Sep 2024 05:08:44 GMT (envelope-from git) Date: Mon, 30 Sep 2024 05:08:44 GMT Message-Id: <202409300508.48U58iCh025962@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: b620bc6e1dfa - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: b620bc6e1dfad5c1838a3027cb902d64180bdd7a Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=b620bc6e1dfad5c1838a3027cb902d64180bdd7a commit b620bc6e1dfad5c1838a3027cb902d64180bdd7a Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:36 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 05:05:41 +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) (cherry picked from commit 39c35f6c5445d09b51a3fd366e8d64434b8fe7f1) --- 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 cd498bf1b5d7..679de1c6092a 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: