From nobody Thu May 02 13:26: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 4VVZTc4X7kz5JJcV; Thu, 2 May 2024 13:26:44 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VVZTc3SL4z49SH; Thu, 2 May 2024 13:26:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714656404; 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=oYkve/xiSJ3uCAgZ5OA2F//Jegff7FvvhREb0DOlIx0=; b=n/1WPLOHlpPN3cFlj1a0fmndUVdBD4BjT0CBRr/VE7DCIrXvo+2YX6JFyAGsnbUWxpAHq6 qS8TWzvRP5qQtnPOlXISx8Domk7tPBS5j2vMPxPnMdlvdQBgiOIAyj+ZACH8fltn4AecRD e8FYkG7F/9F6FAX8AuHjgHg1qJQj868YIA5qdpYj73jBZrcJLtSyKRbKp1APNdooLR9XE2 S/iPuXh0+tn8R0xt6lXZjJeQ/fL+BYpBfCksfMRc3Jd6k62OHkLcDBruZsySYH8SKgVV0b vsj/BGFvqYJtLEOjldySmyXtIr59Idfcf/qhOP9oZRHwse2HRO4ZQ6y60aKMzQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714656404; a=rsa-sha256; cv=none; b=vQPycQUD2p1fqcEc4CzpFWvpKWLbHeq568p2Dods2IvaRnlHbq596vnLFnyM/Qr1W5GWq3 NNB/pJRqPuXYrkcXrzgsLJSbqdLm+TVIlrZAHU0W6xH8ZH3636C8SmpqB27YAdHJ7U06pb JuNGpAZKFRvSgv+upX+4NhfYfyaNllMn5wK3LOMGVnLs5az6sDw3gcokHZsLmjSyB9P8jn I31PNkOZzqvDYeYLggI4+T2oCaSY/+QqwaglzGwMSp/01DwYb3YK1BvwICfKWvSBLt3wss OdKGmkePlum2sg4THJoYRIo9eYGXNgSBnHbURZaGpPCOHnXXbGgDXLqDrHfiGg== 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=1714656404; 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=oYkve/xiSJ3uCAgZ5OA2F//Jegff7FvvhREb0DOlIx0=; b=M4W6kWzxqi200GDDM+LyQnOqXr7gqMh7FFvm1TB7OskAF0yWClSBPhlXMW0M94SWc+1XTC IYuhv4wBRejRBZKgvMTyuW4k9M3uTqibz1iIw6IjSEHo89H4ikMNYDAvrQXPR7iZ1zbTzS qyV+lj986yVfDa3Hcraf9Z16x6V+jmkRfSB5J3rLS767X9QH6KrSyONZZ3T83Xem/Vvroh s+cIgFxZfC3bZI8pfhj9gsH0oej/oz24h/SXZ1kLY1jdHltBqSj954JXwBUEJmbTv7ux1q pXr42tWMOa5yEzP7LwIJ7c8tOXjM87LuhEow67dM+/GcJFFH5Y3XeiCbBy8XrQ== 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 4VVZTc3417z1471; Thu, 2 May 2024 13:26:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 442DQixk080693; Thu, 2 May 2024 13:26:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 442DQikw080690; Thu, 2 May 2024 13:26:44 GMT (envelope-from git) Date: Thu, 2 May 2024 13:26:44 GMT Message-Id: <202405021326.442DQikw080690@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: fa1d1e824b9d - stable/14 - khelp: uma_zcreate() does not fail 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: fa1d1e824b9da32c6ad6d3ad3a36597f576e1cc3 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=fa1d1e824b9da32c6ad6d3ad3a36597f576e1cc3 commit fa1d1e824b9da32c6ad6d3ad3a36597f576e1cc3 Author: Mark Johnston AuthorDate: 2024-04-23 16:22:27 +0000 Commit: Mark Johnston CommitDate: 2024-05-02 13:25:08 +0000 khelp: uma_zcreate() does not fail No functional change intended. MFC after: 1 week (cherry picked from commit 1e607a0753ff93847926a46003fe74087426b580) --- sys/kern/kern_khelp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/kern/kern_khelp.c b/sys/kern/kern_khelp.c index f8a6f3e749da..eadb2b5a8db9 100644 --- a/sys/kern/kern_khelp.c +++ b/sys/kern/kern_khelp.c @@ -331,10 +331,6 @@ khelp_modevent(module_t mod, int event_type, void *data) kmd->helper->h_zone = uma_zcreate(kmd->name, kmd->uma_zsize, kmd->umactor, kmd->umadtor, NULL, NULL, 0, 0); - if (kmd->helper->h_zone == NULL) { - error = ENOMEM; - break; - } } strlcpy(kmd->helper->h_name, kmd->name, HELPER_NAME_MAXLEN); kmd->helper->h_hooks = kmd->hooks;