From nobody Tue Sep 03 10:27:44 2024 X-Original-To: dev-commits-src-main@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 4Wyhds2nslz5Mkb3; Tue, 03 Sep 2024 10:27: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 4Wyhdr5YJnz4tmR; Tue, 3 Sep 2024 10:27:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359264; 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=9ZO+hZ5YFWgGWGakC/gsbDHr0FnIyPG8D4WEWElzQFE=; b=QjILrLS6XsUbryxVRDT7kG+oy1EDq6ZeKTC2yIkk6PZ6zVql0zv2buFjk0dW6W19YO7uqo w/HUm7x3ZMotjP/wmOXlz9KgXdXpHTbTSoqyOiMsIbB6BhR/HnJVOEcn9Sbl/QpthG3bZI CUtAPPwFzxHGBdeFWqd3cNDwI5ABQHlQ1NmkMBhD124Zo4z3qu+VNrS8Q3K986eAW+0raE dhsaXNFWL8YvS6ORW3aHP7Hmuye+lkFuZyXgnAbwcRVkrYd1H6Zx8ZfT0NjnsF64e+kTPQ IWcsfsjQKUaAA1VA7vLAtgadqALuzsHOHd4ujbAQGn+FhFn4EqsUGKtAU2RmEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725359264; a=rsa-sha256; cv=none; b=bKZVKbZKFTvfnFjr7EFj4N8pJ97O3+r0LKx5Ge+FWGiqJifmqejoOtG1MspobP1aSf5BEO 7otfLhYVPuVL9nsM8lvQdeJsA5af13EzKJ9mky8qAS569BT8ppOCNghoEaMoivimDWjVTb BJ8dWh9qRHqGCMLhC6pqis8R3iPkfTAEbrnIDGgaRESgvksXAMQnsvBUSTBtJdhq9cx71o N0Tx0EmGr+bee6CsRIxJ2nHIlGywLI/Ked+RV5LolZsoljD9+JJLmABCyMV9Z/NgJo4fXT Ypxk8yJD04BcEStvgFXQrL4jt4OVW0G6oQH9qrVhDbUtA+QQcjWDVaoYdR+f0w== 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=1725359264; 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=9ZO+hZ5YFWgGWGakC/gsbDHr0FnIyPG8D4WEWElzQFE=; b=rH8C+u80B90gYaFXvFjq84TpKk+asJNrbkBsRurWOSivG2X9nt4uLndx7OELeTRIzG4clT FpRuLcPKxB9973yaJnrI2gk8F/3pm7ZQHiGsTCTxkU03DW59eo0Dg4jd0wgHd4nHuxue3/ L8r2k8Q0Gap/XCFBLt/KrCnf78VhokKxlioKdlWvJYgoYC1MBXkEtHHrjOTInLn7lbBlxF 4Fr4z/brzRdwXuPzhwkSe44YQijnGGfXiYlyfm85R/aVm9//mYIG7FKac+kyJUScSyNGeH Ibc65KCUfBVG2TcJKfQe0IZiXY+zTumBGrfjEMFNOF1JLmTc73Yg8FxxzAn/VQ== 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 4Wyhdr56wQzd18; Tue, 3 Sep 2024 10:27: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 483ARitS011466; Tue, 3 Sep 2024 10:27:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483ARiEt011463; Tue, 3 Sep 2024 10:27:44 GMT (envelope-from git) Date: Tue, 3 Sep 2024 10:27:44 GMT Message-Id: <202409031027.483ARiEt011463@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: 7ea3fd3bb5f4 - main - mxge(4): Stop checking for failures from taskqueue_create(M_WAITOK) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: 7ea3fd3bb5f4039c372fd72aeef004fe12454537 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=7ea3fd3bb5f4039c372fd72aeef004fe12454537 commit 7ea3fd3bb5f4039c372fd72aeef004fe12454537 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:38 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-03 10:25:38 +0000 mxge(4): Stop checking for failures from taskqueue_create(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45853 --- 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 47793232d8d5..f36f41d53b40 100644 --- a/sys/dev/mxge/if_mxge.c +++ b/sys/dev/mxge/if_mxge.c @@ -4615,10 +4615,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 */ @@ -4815,7 +4811,6 @@ abort_with_tq: taskqueue_free(sc->tq); sc->tq = NULL; } -abort_with_nothing: return err; }