From nobody Mon Sep 30 05:08:50 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 4XH8HR16m8z5Xln4; Mon, 30 Sep 2024 05:08:51 +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 4XH8HQ5tVLz4YFm; Mon, 30 Sep 2024 05:08:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672930; 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=UtEFra1kB6R/JxHFtfLczwjt0D/Ji9f6Vo1qgSy0Xug=; b=XoBKkMMAnPdH7EvOpD3pzjEKoy71xZ7svlZDz+X6oKMvf1ABLZDg4x7stC9C/j8Ico+HC1 lzHPpsL6IbpDyQkXKuFrr1swjHP7HZMQ70W2PmM1h2CZBmyaKX5c1bYe4x5dW6MmHNHAMo gNVkt9Ui3uAMnmQpvDQ1fz9vmr197P9iTnGbJ4VE5HpiYdnRSsmk51bk9eSZP2EBMVEg3P G9d/zFtwnJphBxUZLR8a9WFTrgFNftRaOOnsluL6e+g3bH7ai/zdg1NX2KQwap+DETGtye qOpYyhrI/hh61VV6wpHr4ib/KtH9vehkRxDtcwL3yLHApoCIWkB0yqNMKZbckw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672930; 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=UtEFra1kB6R/JxHFtfLczwjt0D/Ji9f6Vo1qgSy0Xug=; b=UGdAjqEqsyOlV15/mxbHq2NQTCcJjTyycfJaczpOoKo+L1zmwCdGGjRMmHlYOtGB6HWIRv ekF/fIj4x52RxHjCQzSE8FMvpeWhPDKM2rm9rIltbQ+PZECepYkItcHxyT2iCIbOwTCwni rUFDSHITr8sfNH5TK+vpIvKiqvk+6nr0MLC6Rgr37OCv6Xm4/+MF2Y7CxZbapvQH26try3 +B3vugGNnSrOqdhnvfvulrkjWKT4eIlDjsIGoFQ14JktJTXAeHWnNi7ZAwH1ERNjstdrF2 3zx/fe5/i1xGJ1sMTPcTB5MmLAQD3PVj9kIQqXAUgj+/kFBN7gI9VcYPFM4pwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727672930; a=rsa-sha256; cv=none; b=hDhaDA4c5LwnaY23IrbnNdQSLShwyiWFkABuDlYy7elmKr8Lu+F3O/8rqchLdaxuMbKjLW 73xEENr/2nKDdhkyvN3Jfg1QGVeOTyw389p8hiuKikgNAZlBVKLLHUaW9KWWD1oQfzbSdT 3fi5Jj3lhMvFYw5qR22WzY1qbOU6n9mMu37Ow0Ynw0+RI8hnFhfNRo1bNMcrUSPXylbLoa EzNS/jfmr3/4AAY7FzhtO2Md1UJH9BgVcGLtCmsWSsRTWqBQyS1wLZhQgvDfAOmwwoQNsm oBy7IHelEvi9oAcbse2afNpNZLzo4fDyqWWr5Ns2EJGJ9CdLQfk1IW2HShjWvA== 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 4XH8HQ4Q7Pzg8D; Mon, 30 Sep 2024 05:08:50 +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 48U58ou6026211; Mon, 30 Sep 2024 05:08:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U58o1n026208; Mon, 30 Sep 2024 05:08:50 GMT (envelope-from git) Date: Mon, 30 Sep 2024 05:08:50 GMT Message-Id: <202409300508.48U58o1n026208@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: 1290de0d5400 - stable/13 - mxge(4): 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: 1290de0d5400dd21930de0e1e022fc22fffecc1c Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=1290de0d5400dd21930de0e1e022fc22fffecc1c commit 1290de0d5400dd21930de0e1e022fc22fffecc1c Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:38 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 05:05:43 +0000 mxge(4): Stop checking for failures from taskqueue_create(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45853 (cherry picked from commit 7ea3fd3bb5f4039c372fd72aeef004fe12454537) (cherry picked from commit 70280bc71d28935346f7cc7c41ddd99e58b9604a) --- sys/dev/mxge/if_mxge.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/dev/mxge/if_mxge.c b/sys/dev/mxge/if_mxge.c index 440265762e7a..8e136470cdb1 100644 --- a/sys/dev/mxge/if_mxge.c +++ b/sys/dev/mxge/if_mxge.c @@ -4757,10 +4757,6 @@ mxge_attach(device_t dev) TASK_INIT(&sc->watchdog_task, 1, mxge_watchdog_task, sc); sc->tq = taskqueue_create("mxge_taskq", M_WAITOK, taskqueue_thread_enqueue, &sc->tq); - if (sc->tq == NULL) { - err = ENOMEM; - goto abort_with_nothing; - } err = bus_dma_tag_create(bus_get_dma_tag(dev), /* parent */ 1, /* alignment */ @@ -4965,7 +4961,6 @@ abort_with_tq: taskqueue_free(sc->tq); sc->tq = NULL; } -abort_with_nothing: return err; }