tBO91l2vUuGQXW8vAawh6vqIX2MDWCO2XXiFG9KyCZuOAkSALrP8w2XrCSeXFIjQ2rrGK pI0tyE8I2wDU2f/nze1XLK5rDhib8fLgz6xEVvU7G/OFpbkuH0A3MN7PxV7EKo1I5AJ9sG rNJ5qRfWV4DEdwU9+aq1ez+TU3vQg6V2JKY0vpxnELc/FA8KEmuc2Bo98PjcPmRmjkPUwP gvbxMQDAqF6V/DbqKApKK3y07E9auy3SoDTWw0VPehFtF7Yt8QsJrlZo0JdLw5p7ANpjzE c0ELJ1CSHL/OvZYbqdK3ZA/pMq/iSQ4z2PoBqhhFbGiN/ILTXsxgSeQSjoDm5A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765861050; a=rsa-sha256; cv=none; b=ETWdUjQT/PpidCL9tO0nCvPTTeiDdgei0oiaUC/QRIYRHKXXlMxJ7XgLj7435KxAT1tIpf Yu6Xm0HX1KnxdkzrWbMJwtRz+TszUujKKGZE/KofsfjUyzsFHBCEciDSGk44zeZSbT9XlA PzYiuV9eCnjMMhaI2e5KD1C3LNN3EhAykkElwS+Qhbpyu2wxiJqz49LkDoy1Y9dZJS06+s UdbTjPAE7P5N9mvyJi0tCIDl/9pGyWgvXawyNHAZmfLpdkiMxkjcLgZK/gq7/a3Hdg/5kf 6FEejXfIRxkrYhx8NsTc6FuY/nqO/t9JqiXn6uGixzMzdCvrFeYqCiQd8CVU5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dVl6L0sfKzrx9 for ; Tue, 16 Dec 2025 04:57:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id b34b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 16 Dec 2025 04:57:30 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 90c370615158 - stable/15 - ofed/libibverbs: remove no longer needed local alloca.h 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 90c3706151583a1efa51f8bc16c3fa4a503d0146 Auto-Submitted: auto-generated Date: Tue, 16 Dec 2025 04:57:30 +0000 Message-Id: <6940e6ba.b34b.5726ef56@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=90c3706151583a1efa51f8bc16c3fa4a503d0146 commit 90c3706151583a1efa51f8bc16c3fa4a503d0146 Author: Konstantin Belousov AuthorDate: 2025-12-08 23:10:07 +0000 Commit: Konstantin Belousov CommitDate: 2025-12-16 04:57:02 +0000 ofed/libibverbs: remove no longer needed local alloca.h (cherry picked from commit 70edd3c126a591dec129958d3e103521de84746d) --- contrib/ofed/libibverbs/alloca.h | 18 ------------------ contrib/ofed/libibverbs/cmd.c | 1 - contrib/ofed/libibverbs/compat-1_0.c | 1 - contrib/ofed/libibverbs/device.c | 1 - 4 files changed, 21 deletions(-) diff --git a/contrib/ofed/libibverbs/alloca.h b/contrib/ofed/libibverbs/alloca.h deleted file mode 100644 index b0311c066275..000000000000 --- a/contrib/ofed/libibverbs/alloca.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _LIBIBVERBS_ALLOCA_H_ -#define _LIBIBVERBS_ALLOCA_H_ -#include -#include -#include - -#define strdupa(_s) \ -({ \ - char *_d; \ - int _len; \ - \ - _len = strlen(_s) + 1; \ - _d = alloca(_len); \ - if (_d) \ - memcpy(_d, _s, _len); \ - _d; \ -}) -#endif /* _LIBIBVERBS_ALLOCA_H_ */ diff --git a/contrib/ofed/libibverbs/cmd.c b/contrib/ofed/libibverbs/cmd.c index df6af3933e36..af2ff7f21f64 100644 --- a/contrib/ofed/libibverbs/cmd.c +++ b/contrib/ofed/libibverbs/cmd.c @@ -38,7 +38,6 @@ #include #include #include -#include #include #include "ibverbs.h" diff --git a/contrib/ofed/libibverbs/compat-1_0.c b/contrib/ofed/libibverbs/compat-1_0.c index d63bd55cc09d..73170756ef65 100644 --- a/contrib/ofed/libibverbs/compat-1_0.c +++ b/contrib/ofed/libibverbs/compat-1_0.c @@ -36,7 +36,6 @@ #include #include #include -#include #include "ibverbs.h" diff --git a/contrib/ofed/libibverbs/device.c b/contrib/ofed/libibverbs/device.c index 6ea7fc241ed8..c840be7cb140 100644 --- a/contrib/ofed/libibverbs/device.c +++ b/contrib/ofed/libibverbs/device.c @@ -40,7 +40,6 @@ #include #include #include -#include #include #include "ibverbs.h"