From nobody Thu May 02 13:26:46 2024 X-Original-To: dev-commits-src-branches@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 4VVZTg0fJYz5JJcb; Thu, 2 May 2024 13:26:47 +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 4VVZTf5JFFz49kX; Thu, 2 May 2024 13:26:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714656406; 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=MFhejzJHh3J9NT09rpC73y2Om/TtQ7pTwZCyjDqLN2w=; b=QffEQRuCU4jGJYs+ob2IsozMEC/o+vzJ3KNbTFhYDqeArU+a/zkTBTAipZLXh+mmOgGjz7 AU31H7ffhMW9zCOFdw8DNge80USZxZ4KDi7C8jEolOiOTep18SVSMSfccd0BfY4jm8xFFh 5xYpbJzd5MRM8Ouk9wyaW8IvQy7tJCHSz7scR/rnlqFKp2Jjlh2XSt9Kthp/7m/ZsRHY/Z mb4rpd9H2RxnDFMKSlr2Rz12SMxGJ+ibOQtx9VpRFltaxoKjI8sncF9IYx9ucw+k07caag 4yJ0SCkO9hAa52Td1yXihoAizPpOsqywM5lEU8Yr5joWlLqEoRaqgSObTZdKvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714656406; a=rsa-sha256; cv=none; b=aKR+vVAdW+P7bCs0+f/S4P6N+Mm1pArj9XCiAMyRN5f5YjOyPUxDxf20S/deBYESlJklhW RCnq12jH7/ps3LVkATEqFjnTI4isdfchQlOfFK/1eMO94Q2ItxRCRf1K13tTksoEhAMM6I OkqgDenYYt4Q+k6tCOj05wFJtmSmfn10sxJcSHk6/E4b8xeLWfY8TzYpZZkoQT2IWlbjuK 8UR2TFljkCEp4C+9z7nXsaOw9TL12/WB8ZlSv6Dsv0KqCA+TAYY0OYxoKRFse/SicTyEGe p+D7zDhwY4t66TsdJqV6LppXBAWdfZV6bsbtO+CZl4GtyLPHYrmb3JoLD4pHuw== 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=1714656406; 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=MFhejzJHh3J9NT09rpC73y2Om/TtQ7pTwZCyjDqLN2w=; b=GKB/MKsLuPWCSx+nOysHRJ5x3yVbMMuAHAMqIInHYO4lmrp9sLQwuc/MFcEDYQTwrHQHEv 3nc3GAfozSXCgx/GG5uzrLJslth3QJwVlFY5cl0A4NvndNPB0sz4TRaa3nG/RsMZUCZ5kk 9sTPorbg9ARtMhjWGn/143LQHGw/AdHom79Xk44W2ZOgGgUCBwye8gjHD8hfsrv20WN4z3 nSlL3eHBhnwYdX9akqtvsqwQZs4kpwwHqn4RElkrpcYA3X4wHr24RfsXZ/YdoyrE8VfwWu /fTK3pdgZVvZSBF/yWZvyF5UKpIdJCVX/kQyg0Qhl0kvV35hepr0YwPD4+xJhQ== 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 4VVZTf4wWZz14JV; Thu, 2 May 2024 13:26:46 +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 442DQkn4080781; Thu, 2 May 2024 13:26:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 442DQkv0080778; Thu, 2 May 2024 13:26:46 GMT (envelope-from git) Date: Thu, 2 May 2024 13:26:46 GMT Message-Id: <202405021326.442DQkv0080778@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: 7a8b49047659 - stable/14 - busdma: uma_zcreate() does not fail List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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: 7a8b49047659bb8e06660de9ddb47d1059899d89 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=7a8b49047659bb8e06660de9ddb47d1059899d89 commit 7a8b49047659bb8e06660de9ddb47d1059899d89 Author: Mark Johnston AuthorDate: 2024-04-23 16:23:13 +0000 Commit: Mark Johnston CommitDate: 2024-05-02 13:25:08 +0000 busdma: uma_zcreate() does not fail No functional change intended. MFC after: 1 week (cherry picked from commit 8ef2c021822f59a334e3926e8505c8a8e8a3475f) --- sys/kern/subr_busdma_bufalloc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/kern/subr_busdma_bufalloc.c b/sys/kern/subr_busdma_bufalloc.c index 2cc47b006753..fa7191341db6 100644 --- a/sys/kern/subr_busdma_bufalloc.c +++ b/sys/kern/subr_busdma_bufalloc.c @@ -100,10 +100,6 @@ busdma_bufalloc_create(const char *name, bus_size_t minimum_alignment, bz->size = cursize; bz->umazone = uma_zcreate(bz->name, bz->size, NULL, NULL, NULL, NULL, bz->size - 1, zcreate_flags); - if (bz->umazone == NULL) { - busdma_bufalloc_destroy(ba); - return (NULL); - } if (alloc_func != NULL) uma_zone_set_allocf(bz->umazone, alloc_func); if (free_func != NULL)