From nobody Wed Apr 24 13:17:12 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 4VPffJ5SGTz5HLDl; Wed, 24 Apr 2024 13:17:12 +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 4VPffJ3fNRz4LNg; Wed, 24 Apr 2024 13:17:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713964632; 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=GI5tq0QnjHnIpgL9vIPGfqnT/tCmM7G9EWBxwkmk7A0=; b=W8rtj/xMfuoscEDcFS5lu0/RrcklynH2TRg/PkB56R7RIyXthG7dG+DBlePF8MlQ7i/jln Iz4p7K3AZKwpEEDjhnbaUwC9vb907M0RE/q6EgBEl4giD8Ty+M6ketS/MzXa6Yil3ZhfrK xjc13ld1gy8mZIGjdt3zxtoFEAWWJkFi3yweHhRLl6YJEBCLAV9sNpMrkjXOSwSjHLZ3lG 78a368RMvGzYr0/WLEoGk3Xvb0XvAHhky9vGvGaxnOEyFgL0rG6uOB/VQ0plxqzsR294jg H0YFf73Tn3fhsp2ljcDpr7t2gLC2VLJjbaUf/D7MaIQiVS7Ad2mxB0Yns3zXfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713964632; a=rsa-sha256; cv=none; b=PE4BjKx3PblgDQ4pBds9+1bi8AZUhZ8u9pI4FVR0zOqJ9EGC6eGCVKjaW43MYZ15stUGDk djerv5+fMJTkMz2dGBGXcNRbtKAaQZ7BCqUE8VhVuaWvH5K+CVpf0Wi57sXQi9cRW7q0E5 2ecVLalEsCMCiqo3geDfwzco3d1R/+aaPN1jBjWT775ZQO3vBRZcTbPWX8rl7Aj8W143nc YUGR5PQJKUCBvjMU2kobWBUxdCE34INNPVqw9ePlikqccKNTi0qE/iK9qbhEYF0JCsEUZH GPK3yJxU/BpwewZ84uo1tGX7jWVWgqyF4TpPPdIN+luRUep1undKHWsSFP1E7w== 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=1713964632; 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=GI5tq0QnjHnIpgL9vIPGfqnT/tCmM7G9EWBxwkmk7A0=; b=VoWA7s9jrDhzYLueu0NEjyKs79/P2ck2klRr2VMj6nH2wu+R6QDftYBwofWvsdHpH1vF0t lQIzpXLOX3fAt3aLOtxnwQTSvE5I/P19tP4JlVM6lcdEfQMcgUXaniO+CbAhQafK0AAlrl NWGJ6TQNAcKFdJf8lMwbECA2V4725gg9jJmUk1zlfCcG1ElgpOXjq60p9IkNuAojeKh4sQ 6tnDrcV0tZf8KSsIiPH1WSqksciiOLRMUPjY2uZ7mDOyHTrBShPzP3Ii+i8XniMhN3rsEJ B3qPPYe+1S7fqaWtJrQ4nK4nOfMYb/a3gMrGxJ3yY8EZ/z088hbkf3lyQ/qZnA== 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 4VPffJ3CNfzGdr; Wed, 24 Apr 2024 13:17:12 +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 43ODHC9r053382; Wed, 24 Apr 2024 13:17:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43ODHC9e053379; Wed, 24 Apr 2024 13:17:12 GMT (envelope-from git) Date: Wed, 24 Apr 2024 13:17:12 GMT Message-Id: <202404241317.43ODHC9e053379@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: 964064937ea0 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 964064937ea04519bd400668dc1ce38848d50901 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=964064937ea04519bd400668dc1ce38848d50901 commit 964064937ea04519bd400668dc1ce38848d50901 Author: Mark Johnston AuthorDate: 2024-04-23 16:18:21 +0000 Commit: Mark Johnston CommitDate: 2024-04-24 12:45:24 +0000 dpaa: uma_zcreate() does not fail No functional change intended. MFC after: 1 week --- 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 62ea8ba74e9c..0b9f8e0ae6c7 100644 --- a/sys/dev/dpaa/if_dtsec_rm.c +++ b/sys/dev/dpaa/if_dtsec_rm.c @@ -115,8 +115,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); } @@ -312,8 +310,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,