From nobody Thu May 02 13:26:43 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 4VVZTb3KZcz5JJcT; Thu, 2 May 2024 13:26:43 +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 4VVZTb2tpxz49dX; Thu, 2 May 2024 13:26:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714656403; 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=sWlkvIpBmTz7I43yKQCxPdUOeNF+OsITGJ+ZE8lxRc4=; b=MbYmhJVnseS+oBb/7OdV4qUJBtmi2kfHky3kUwi7fASe3IgtKm7F1YV0UceWIxsKH93viL xKjcDgKf7WulAItYkWyldaUSDnKjRYkTqTG4wtOxWfsct/3n/jXAKQn+lmLe2EpThA5QWY ZtxsHpQQYfxlkX7dVvXEJ/TxpcGvSHS/wvxab/ef07181vNjYKbGz+xxnsjogrEW0yaOzl rzQbVN645+HAMCQJpQm2P13Ik3nuPVUOp31/fDtg9JcjvY8dmQTa7h38kHLa3GRQ8i59Fz O6McqFnXB+ZgQpAamszzQ2gMs6tAsSsEL0xWWrU6nSCavJIbi6PgChfjoY26Pw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714656403; a=rsa-sha256; cv=none; b=AMP9+YBbZ0DzrjyUims5ZFfo8SCxHFJLCkqkA2qDjpBfnN+ib7a2WQaJ0y5pBum0gyZcAk oGzYPLON2kXLrHeazI3+2JaTjhI78ulPFRFfpwffH3SaBYEFBoAxjCBJS+CP6rJLQ9mM4a 4pQeDt8oXYiC6pFj3VVWdEv/pSsBbRnEX7rIEOel5fgc1T4ktztK2nVQT2/ayQviHWBEsC xrMnciMTMu5D9aGDdkrj61E5pqVnU3VwVIebju2Z+E0qg8NPIcQPcV8qQ2+C54xDagiqLL 9p76LFCO6iovfNN4vYXNP5uCAOfPsngcvgom5svN3XQ563ui0yiLHVnZOwJzFQ== 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=1714656403; 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=sWlkvIpBmTz7I43yKQCxPdUOeNF+OsITGJ+ZE8lxRc4=; b=IzQiCialz8txOeAsBSjecnW/fGKOUvCLuAJ92lhUt9QeyVUMKo2LfInT2iBugHnHMk3Q5m 6AXD6XZwi2KIbfW0ZwM/riEHpWHMlTIh+ITWCzShRVxgccRyOv60anYiACfdXg/feAcBGA G0TghSfX0yoWv+ADmZnN7ekoa72QmbmCyzIl5uWKSrJOEXm1bWoh9Xvh3YNVp6rk3mhPxh piGWO66aWD6ppkeWhzgnidF9k+yyYBLmND2C1PoOe1ILtDa4JX431niwlF207p2w3RYmfz pi2PmALOxIJBhjCdf/t/O2F3IQ4YD+q4DLWVhdJJnCmve8HFik6tdnWAbavAzA== 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 4VVZTb2Mlsz14YD; Thu, 2 May 2024 13:26:43 +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 442DQh5D080648; Thu, 2 May 2024 13:26:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 442DQhSI080645; Thu, 2 May 2024 13:26:43 GMT (envelope-from git) Date: Thu, 2 May 2024 13:26:43 GMT Message-Id: <202405021326.442DQhSI080645@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: 4ee7b8e1ef3c - stable/14 - dpaa: 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: 4ee7b8e1ef3c5f8ee0b2853fc719f9bf186577ee Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=4ee7b8e1ef3c5f8ee0b2853fc719f9bf186577ee commit 4ee7b8e1ef3c5f8ee0b2853fc719f9bf186577ee Author: Mark Johnston AuthorDate: 2024-04-23 16:18:21 +0000 Commit: Mark Johnston CommitDate: 2024-05-02 13:25:08 +0000 dpaa: uma_zcreate() does not fail No functional change intended. MFC after: 1 week (cherry picked from commit 964064937ea04519bd400668dc1ce38848d50901) --- sys/dev/dpaa/if_dtsec_rm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/dpaa/if_dtsec_rm.c b/sys/dev/dpaa/if_dtsec_rm.c index 63ae0504782d..b213a259b5bc 100644 --- a/sys/dev/dpaa/if_dtsec_rm.c +++ b/sys/dev/dpaa/if_dtsec_rm.c @@ -116,8 +116,6 @@ dtsec_rm_fi_pool_init(struct dtsec_softc *sc) sc->sc_fi_zone = uma_zcreate(sc->sc_fi_zname, sizeof(struct dtsec_rm_frame_info), NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0); - if (sc->sc_fi_zone == NULL) - return (EIO); return (0); } @@ -313,8 +311,6 @@ dtsec_rm_pool_rx_init(struct dtsec_softc *sc) sc->sc_rx_zone = uma_zcreate(sc->sc_rx_zname, FM_PORT_BUFFER_SIZE, NULL, NULL, NULL, NULL, FM_PORT_BUFFER_SIZE - 1, 0); - if (sc->sc_rx_zone == NULL) - return (EIO); sc->sc_rx_pool = bman_pool_create(&sc->sc_rx_bpid, FM_PORT_BUFFER_SIZE, 0, 0, DTSEC_RM_POOL_RX_MAX_SIZE, dtsec_rm_pool_rx_get_buffer,