From nobody Mon Sep 30 04:46:05 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 4XH7nB1rF1z5XkK4; Mon, 30 Sep 2024 04:46:06 +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 4XH7nB07JQz4GQD; Mon, 30 Sep 2024 04:46:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671566; 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=WyPYhERmK9pCR2aIY4Mp/7xO9ANSjTDhbWF6DJgVocs=; b=Msik1nYSL10uWjL59ApjC3O8VMVTkgqZ6qTS59eEvRmQ4fspvAUB7GJp2c1UmqzeYA+mPI 3iM4a6aNhdEi2UWOU8/bqL42sNJLcFdZT0zGLUpMa5C57MeDnk6uXEfoHE4AaedEToHdi6 iJ0O3bq1l+VVkbTwJTQ0Gvt75lN4Gv2IVl6SQ59m/lhDjCt5ce9ANIJeDRw8RA0prZEQr3 lylVNfg644BjZ8X4S9HRNusyLPDht9OqnI/ZWYwyW8yQkVTajbW6XzEKcq+TG5O3kepiHL oRTiBCaUHH9PixHLmWxAA5AK2UAJ+oc9IFa9hrM9f3B5jzS8GOwRj+ccaf70jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671566; 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=WyPYhERmK9pCR2aIY4Mp/7xO9ANSjTDhbWF6DJgVocs=; b=SA9Jcum9o9f8NbkyHgkZyPBef4kozkDTbzWuI/qLPZ9yD1KY/UFWn+ZEdTUl7yr0hUNkKh oQBf+EFPmKrqz2wwoqvKR3xBV3NzoUyfUUx5NrL50Hb3lLL2Sa6dskNFOjzAjbpnLI+UFA wMDxcAXI99x4Zmds+zv6W+9phm7eL8lvyTU/PlUh5/3I576tvdPY/qgc29S903r80Dggaw ottLISMJQwAEJ3vu+gxWiKgBST723YUnoirllDdKkA4sd2br+aLBHA/m8xjwf00geVOyRc IYwdOI+lNXspto8xLbfgIEfr8xw5jBhIdF9iWB30ia84ljbCrOmf2f8V2ey6tg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727671566; a=rsa-sha256; cv=none; b=v6zbhqUn/qc6yQOFUVQxVKlWt0kVEgDo+lNLHfuwWbGHyfPanZRkS/X4Ymr1nKqX31D7Pw Sx1YUqUYbljNWceyrB4kJs7Eiy7V/oHs+J4ZxJDqRiOGf3gWayPWP3bbasblpw3HACWW+w YD1K0BvyuhqQB0kWnMaATjyJ3LEdAQ2sIeWY3rD9JjOuZ6ERpmV2DcMql7uH4iIHwOEZJ3 RWY2DJcFErRkfpS6WTXafJCmxNUguMgX0oDOfku+/6jk13+Ax0mSCscfYaFtM9t8jAWKO/ 3xfBzcP9BEXiABF2bOol3diYtKWQXjuHgxoFblesSLWAzbbYE7CenBUZ2GV3Iw== 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 4XH7n96pQRzf2L; Mon, 30 Sep 2024 04:46:05 +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 48U4k5A6088767; Mon, 30 Sep 2024 04:46:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U4k5w6088764; Mon, 30 Sep 2024 04:46:05 GMT (envelope-from git) Date: Mon, 30 Sep 2024 04:46:05 GMT Message-Id: <202409300446.48U4k5w6088764@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: 70280bc71d28 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 70280bc71d28935346f7cc7c41ddd99e58b9604a Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=70280bc71d28935346f7cc7c41ddd99e58b9604a commit 70280bc71d28935346f7cc7c41ddd99e58b9604a Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:38 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 04:44:30 +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) --- 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 158bb8e5888c..097813b79c0f 100644 --- a/sys/dev/mxge/if_mxge.c +++ b/sys/dev/mxge/if_mxge.c @@ -4616,10 +4616,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 */ @@ -4816,7 +4812,6 @@ abort_with_tq: taskqueue_free(sc->tq); sc->tq = NULL; } -abort_with_nothing: return err; }