From nobody Tue Dec 9 00:21:05 2025 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 4dQKJg0cQSz6JcXf for ; Tue, 09 Dec 2025 00:21:07 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dQKJf1d0wz3Vtm for ; Tue, 09 Dec 2025 00:21:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765239666; 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=3ZT/0tvL8wahaORZrXbtTPghA05vUg8z1HLOapQlHTA=; b=yFVR3APHXuXLWYs/bgHUCBad0QJi8feVI4DyPt9pYIZOIiArqvNomEr57rl16t1TfvKa3i BMF7SIXzZPDdpjWJzIL9elPNLevkCNyC6erKgN5W6d22M/xu8kNz//hvtQhMkfZ8pGwhEW k6kY+5s5plpTX4O71Jz0Qyt0/OqX2VBd7LsZPAA/CPqlw9JCI6AXk6BtDFB7xySg7RQ9Jb EBkmOgFV73ZGGfzpt7wZQB0PYjWZw/XMVVhU1ym8gaHp41xiPNcdEtODEmi5ACywciqNmW S4ndC70GQrZzvS1181TEywl4uSP/fHf7dO6IZM6ZogENIT8eqbPicuiOYBAKVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765239666; 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=3ZT/0tvL8wahaORZrXbtTPghA05vUg8z1HLOapQlHTA=; b=RO0LIBv8+PT1j9SnSmHK7s25I4xeci/uGGtsBDY2rOu9qOUv75kBkcIYgwMTmgT54KI1v4 RyG76d6y+PVKp0gIqKC8oDA49Z1QniOnm9HVlfkZG7EyHZAk/zfcZ584D497PrE4BvJstu 5fGF5fRUG0f9Lwce/ASj9bZCxXsmwxcimz0W0Xjdb7ecueixtnVSaSfL6yuZZj8dNWcFfz UszffEX4KFRRj0sHcw9VAQlmw0NU8Klu43i5aXpaB7tXYY5Bm/9icXiQ9MKhqhlRTaK0Kl CxPo3qmxCnxSzW4DSMPq4yHZDokNibU+/Tms1uLJKUGZHRfRB7pszEg561Q7kQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765239666; a=rsa-sha256; cv=none; b=optVt0ztQLOkyXhU990ZwEQHOXYsf0XhR7btCJECvBmqzOjtY87NlUB1ybgiclx7IF+vFt ug9t6663AF3mJndhDdDVsj51SzV2AZIcziRMG3H33zoBiiIPpyz27yYuUBRg0mDubfdvqq 7H8DLlgktUqN3+VMV6BiQWen8NCkFxNfFDgQIDE9cEo/5B80YdS0RNTQWhZskZSoGjQemq KuC74m3mX0N6WMdcKjM99M2LoOFdKbggZXIn37wbwWYHWfJAQY0yyZtlgW91qwo3Bb5TRO fiFvrgiRgyQSHqQh93RAKAWFaRwlpmIpQiaEq68WojeTvTBIALZ2zjj6CUCOWA== 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 4dQKJd6Brdzb9P for ; Tue, 09 Dec 2025 00:21:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id ce52 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 09 Dec 2025 00:21:05 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 70edd3c126a5 - main - ofed/libibverbs: remove no longer needed local alloca.h 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 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/main X-Git-Reftype: branch X-Git-Commit: 70edd3c126a591dec129958d3e103521de84746d Auto-Submitted: auto-generated Date: Tue, 09 Dec 2025 00:21:05 +0000 Message-Id: <69376b71.ce52.5a82609@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=70edd3c126a591dec129958d3e103521de84746d commit 70edd3c126a591dec129958d3e103521de84746d Author: Konstantin Belousov AuthorDate: 2025-12-08 23:10:07 +0000 Commit: Konstantin Belousov CommitDate: 2025-12-09 00:20:48 +0000 ofed/libibverbs: remove no longer needed local alloca.h Sponsored by: NVidia networking MFC after: 1 week --- 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"