From nobody Fri Aug 21 16:58:55 2026 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 4hRRNH5nP3z6pCy0 for ; Fri, 21 Aug 2026 16:58:55 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hRRNH50x9z46Db for ; Fri, 21 Aug 2026 16:58:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787331535; 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=U0Q2gFb9IsOYCiMfdox9kTT62satUR3heIHpK0FFZQA=; b=DAPtJmmL5xClJXOhEmu7zEaU+tMniMgrno4V/MPcfSIH0sD/4ewI8SztVsbgUU6gYsgbs2 nJEJOrtgOQSwR4hvfNgP93IVOEYZjYT229aNfPWIgHrmh+ok5sKrC0nbXcQsTGhfmP5Wb5 +OlTiR9poJ/iAcvDzxFnXN4If8u4j0rj4OOMpwU2BDmQokUGioFTrxW1Z96D0w0217vsP/ L8dRzzD4EnQoOS6zdIXPsTHGBXkswUaIhDlgDMijv8mk3Pt6JJDhdczlP4cuBRs3fp1fT0 lO6xWx/g0kCWk2hr0nSVnbrPvpCj885+9NsVH1WpRMH3GONBnM5ChlE7xMzO0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1787331535; a=rsa-sha256; cv=none; b=tnUxCaqVGEJEpUVlJ4695mo/1mjS+8CjxfcC4tPuRn7bjEYe2RRR91ut2FcxPvWvl0uFYs mHuk8CfAmUCjhmcFsSt7pluQQ1o/f+DnWtzcI13Ls39bN2ISfuCbyo7hxCk6+tQSZ5zncg WT2OpEs6YGZjER6ltJfmdisi3dKVYi5DSow1fZil0lT7DgNCMjVe1zFCmO16fhGX0oVUhf uULe6KMPcr1TCf54H2NXkGyENwEDltboitTEh8iK4ShvywnNlkkkpCFrZuvxioP/dCJrLQ 5P3l3UinGS8xASquWJGoK1MIjkSKSS6N/5RH0xQtVTr+TLFNVHEYnR2dO/v/Hw== 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=1787331535; 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=U0Q2gFb9IsOYCiMfdox9kTT62satUR3heIHpK0FFZQA=; b=VZ7Rro4FOOLWALOHu5MYgrebJyg/lUbt0AA5tnlXd8yp8mYC4yuSc0FvOT4ocTBtLGFHq0 07biSPQswXZz3+6dIoS0V8fQUEi/Ig8Zniv5iJjgwuHH/PTn9yEMYQAEuTApJ0LT2oMAMj Sl/g4gyayxeQ9GQlWgSnqabIvncu8Hcbb5E/ayGCdR36G/bVqI7A5LGg2SmdykfMNknNnc dWIM/51DZvkUrcM9MahIfLTna7yNDjvDHzs7+4t9m3AZPIfGnco5aNFlm7QZ4XxQrXpHzk AQpovsdxmISWwmn1SSUweaHPA8Je16LV3Ft9KflRgSw9vNbQ9ZH4FWjC/hn5cQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hRRNH3VNkz1BRl for ; Fri, 21 Aug 2026 16:58:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 19de5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 21 Aug 2026 16:58:55 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 76f14217f605 - main - libkern.h: remove HAVE_INLINE_* macros 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 76f14217f6051df414e435c3388d3f4bb388cc22 Auto-Submitted: auto-generated Date: Fri, 21 Aug 2026 16:58:55 +0000 Message-Id: <6a8883cf.19de5.10ee80a0@gitrepo.freebsd.org> The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=76f14217f6051df414e435c3388d3f4bb388cc22 commit 76f14217f6051df414e435c3388d3f4bb388cc22 Author: Mitchell Horne AuthorDate: 2026-08-21 16:57:12 +0000 Commit: Mitchell Horne CommitDate: 2026-08-21 16:58:34 +0000 libkern.h: remove HAVE_INLINE_* macros The final consumer of this was OpenZFS, fixed in ffaea0831973 (thanks mav@). That change has been present in all active OpenZFS release branches for at least 6 months. These can finally be retired. Reviewed by: mav MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55201 --- sys/sys/libkern.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sys/sys/libkern.h b/sys/sys/libkern.h index b9d395ba151f..64b1688fe768 100644 --- a/sys/sys/libkern.h +++ b/sys/sys/libkern.h @@ -131,17 +131,6 @@ int timingsafe_bcmp(const void *, const void *, size_t); void *bsearch(const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); -/* - * MHTODO: remove the 'HAVE_INLINE_FOO' defines once use of these flags has - * been purged everywhere. For now we provide them unconditionally. - */ -#define HAVE_INLINE_FFS -#define HAVE_INLINE_FFSL -#define HAVE_INLINE_FFSLL -#define HAVE_INLINE_FLS -#define HAVE_INLINE_FLSL -#define HAVE_INLINE_FLSLL - static __inline __pure2 int ffs(int mask) {