From patchwork Mon Sep 19 19:44:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Xu X-Patchwork-Id: 12980979 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EE01C6FA92 for ; Mon, 19 Sep 2022 19:44:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229720AbiISToz (ORCPT ); Mon, 19 Sep 2022 15:44:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbiISTox (ORCPT ); Mon, 19 Sep 2022 15:44:53 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82E1F101C8; Mon, 19 Sep 2022 12:44:52 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EBC225C0488; Mon, 19 Sep 2022 15:44:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 19 Sep 2022 15:44:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dxuuu.xyz; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1663616691; x=1663703091; bh=sP o69fFVvKLwOXSYw31EJYP+b5qawO8I8dVcp2zd/Ow=; b=hG6x10uK3nsRQy9Cmx hcSGSnpCz/f3j3YF19pie65RjsOkjAhMZYLs39OurOAvPZD/Ut6JSzpfM7ZKJ81f ri8aG8vIwSBEK/hIlhIRbq4yce+gibJRNjgfAeKoZkus1K1QhWho5i7LEadbp5sh EwYNrOa9/1JE5fsgNRIvNbLs+iKVlUDQxSwTP/DsMU+KMKn25tq/1SAv1FVdg0rA bZIohLpnfzZKFddyiR11IHGoo8SBcok6oTZAtro/cd3LPHCeIWsKnpKCjni0vOhw LJGMJwimtaM7WlEW9TkEUp76Tl9Ikz5hpycfKehSqp9uECk2TaA4Xj1ioSsfmf1Q Lb7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1663616691; x=1663703091; bh=sPo69fFVvKLwO XSYw31EJYP+b5qawO8I8dVcp2zd/Ow=; b=xEarfzqVHBrCgLb3M0/nk0s+flGNa TcvQtFGI/o5uUr0D/5fLIMUCNlExomMwFxdBCqmF9iu3G17qTrPPvdsbe5UvZt1S mxGnF44LgJVAgv/wAwq70dqOCCL+kvteuTX7m8G1YENeHjJGeSJI0K/GCKEkL7z+ FZnyUJjksiyhFI/xwL5wjDqHBRADiQ3wlA/4aFpOygPJle1esKdniy0HYr5VzLXb PH8WklP9vpW7BqLiFG6qjrWku0SMqfoax09u4f0wkqiCczQlZWGnUCedRt5odb/s 18xC5S9cSgmQC3DC4vBkIZcKS676JHa3BLHlfdkU4U7bNcFjT3xbbObrA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedvjedgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhephf fvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepffgrnhhivghlucgiuhcu oegugihusegugihuuhhurdighiiiqeenucggtffrrghtthgvrhhnpefgfefggeejhfduie ekvdeuteffleeifeeuvdfhheejleejjeekgfffgefhtddtteenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegugihusegugihuuhhurdighiii X-ME-Proxy: Feedback-ID: i6a694271:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 19 Sep 2022 15:44:50 -0400 (EDT) From: Daniel Xu To: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, memxor@gmail.com, martin.lau@linux.dev Cc: Daniel Xu , pablo@netfilter.org, fw@strlen.de, toke@kernel.org, netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH bpf-next v2 1/3] bpf: Remove unused btf_struct_access stub Date: Mon, 19 Sep 2022 13:44:35 -0600 Message-Id: X-Mailer: git-send-email 2.37.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net This stub was not being used anywhere. Signed-off-by: Daniel Xu --- include/net/netfilter/nf_conntrack_bpf.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/net/netfilter/nf_conntrack_bpf.h b/include/net/netfilter/nf_conntrack_bpf.h index a61a93d1c6dc..73f2b78232e5 100644 --- a/include/net/netfilter/nf_conntrack_bpf.h +++ b/include/net/netfilter/nf_conntrack_bpf.h @@ -31,16 +31,6 @@ static inline void cleanup_nf_conntrack_bpf(void) { } -static inline int nf_conntrack_btf_struct_access(struct bpf_verifier_log *log, - const struct btf *btf, - const struct btf_type *t, int off, - int size, enum bpf_access_type atype, - u32 *next_btf_id, - enum bpf_type_flag *flag) -{ - return -EACCES; -} - #endif #endif /* _NF_CONNTRACK_BPF_H */