From nobody Wed Apr 24 13:17:15 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 4VPffN1mvKz5HKxY; Wed, 24 Apr 2024 13:17:16 +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 4VPffM6S3Fz4LPK; Wed, 24 Apr 2024 13:17:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713964635; 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=EIqwoXlr8LtqKxU4q9uvd+W1sP2dRfyc2+z8WpYoRDM=; b=AAH7YNq8UHK9knX2RPZnI/Dk6usBDFKTsMQKK/cyFbf8OVrI7GwfMUK+5yf8QB3T3eC1xA 7NkBS/BVKnBCKY9g7Wy/3PtGCHFu30sPwSxlGwpeOisYa2xJkT/mvbCuQMwSnLl37Sxmhp fM+vmxMW1qzOxpJeNlYcvKhK5qg9LxOf8R899U0ucrV7dArO6v3vpV+fHzrV6pOyQQOa7S PTy4nciadwdi7ojevLdWfpQhIoK7wlkb3/mSmCSrgicVhG3vjAgZCqK0+C0G161peKYd+I ifxgRmaSQKMMscl23b2+f1o/zVYNdFv6wku45gsAKTiflr4Iq5HoIwL2OlsMBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713964635; a=rsa-sha256; cv=none; b=ACzxnfuh68v61vpiRy8TutzfYTVCw6zYOW2kzTsR3zaNxBr2HQifBlBCVTjMgjXZOqIs3T AT+bWBibmRNVQkB7BC80Vam+t3QC1nn+0j84n8zkqzt/XTNYjAzCLmqDkeQkzvxVL7AyF/ wf/F0Eg38h9TzMnsw4SZSOrcfO6SpYobR9FUOg5Z6D3xoBDLOi8vjjeXwZ3fQMFXBz1NpS W1AXm0JodwzO7ivH/INCaHU5+rUiDTB+m+fEe0wGMGe3aKy5x9XR3CyCuhIDYe7rKD4EvO THLxT/pq9d4gbcr83K7SUC/fROWvGVmt0rn0lEBodK5x4wQSnJVsaNCf/hY65Q== 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=1713964635; 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=EIqwoXlr8LtqKxU4q9uvd+W1sP2dRfyc2+z8WpYoRDM=; b=AhXgtmSOftGTA3HFJJ9sswNALdAPQZIdAOVC7jAyHG/lk5PyyeDd93KrGjKk98CL3wyyGv UWQSpqq/WvWzTMPbBrup/Q57rcwCYEkLTygnValUXgbW21THRhgmN4qFOK2eB2u6UU3dJm vv+28FDX4ZF396XjJE29oTp8etvrtWPhZh2Om5uBGigSzmj82zz04p0Yi6KUumjcNbnhCq x2Ij1oDNE8AOCkSMWWChTpYdrGStTlJvjs4xuijMe/aKEDDISE+2QOhDYGNJZ9mToTyeYK Y3gtHwA8qOIyEhCSM0HEURAGw3xUlREVZbzBUbzsS4FI04bAgq3mYjj73uzbzQ== 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 4VPffM64KszGqH; Wed, 24 Apr 2024 13:17:15 +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 43ODHF52053513; Wed, 24 Apr 2024 13:17:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43ODHFtq053510; Wed, 24 Apr 2024 13:17:15 GMT (envelope-from git) Date: Wed, 24 Apr 2024 13:17:15 GMT Message-Id: <202404241317.43ODHFtq053510@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 1e607a0753ff - main - khelp: uma_zcreate() does not fail 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1e607a0753ff93847926a46003fe74087426b580 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=1e607a0753ff93847926a46003fe74087426b580 commit 1e607a0753ff93847926a46003fe74087426b580 Author: Mark Johnston AuthorDate: 2024-04-23 16:22:27 +0000 Commit: Mark Johnston CommitDate: 2024-04-24 12:46:35 +0000 khelp: uma_zcreate() does not fail No functional change intended. MFC after: 1 week --- 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 a5308756b2c4..1ab56780f394 100644 --- a/sys/kern/kern_khelp.c +++ b/sys/kern/kern_khelp.c @@ -330,10 +330,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;