Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp275913pxf; Thu, 1 Apr 2021 00:24:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+0rjUjKh4Tm2Gbd6UEs7xYNTH6B33TtyiTwNlOEKtEVSJYFLb5/8hZmXa4fXZ1eyBmWel X-Received: by 2002:aa7:c0c7:: with SMTP id j7mr8317180edp.298.1617261897072; Thu, 01 Apr 2021 00:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617261897; cv=none; d=google.com; s=arc-20160816; b=NBEJ5uqU+jbeX63MN/AcC1L9j9y4TbT2PGEYcM2/79W3CQysu48CBbrnvmKunfzptb PHX7ed2e7WE5qGfAnmVypzAu5nWD/Lhc227lmjP4thnmY3IaGUX7YBNTxHuWByF6+apG 9ofTr3MOSG1G5waoVouJoyZTVYDpdwR5P3KHNDfV8QKX1+xOwZLt+71AXEbO4kWrTPr5 oXyL/t7ydR92wBMsYoLj40bdGRG47VeGfl9cledFgwO3f8HlAlBrEu+kB9S2ELr8WZq4 kb4D1wOBwgNGn5hHzSP6ussNGuaXomnFC+YSwPSALtiy/FGSv3r68C5DicTg/MGVliX7 /lsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=IcdlgCjjnqheuHtbtEX88VmaCXwx1015OghiMApiM1w=; b=jVqS9KCI3NDQjzEHMuX5KlZoc5fRbCDF7q8bG24DDaP0XkhUFNN0waF+re912DySV4 3khEv1TfrOmkqRkyVepMqTCO5KCaFf/FlcsAepjK7i8MJN0dgEQvYOvneCMyXt5NshO1 MqbrTxaZ3jRmxHvpqMh4clGgD7eGcuROtbZCYLH12a6aZsncACsDwnEr0jNyTxkjU5ck Hun0hKuSAE0AaKLeJZkaZb7N34NiFN57HuHYrjeTLoqFipiNYdxlhKYAx+8UN+Uy2Tp2 hIbufK7mwE6ADj5VG6NWowhoJIQanSDyW0Yun3wFvr39IbU4Fwz8w6PA5Ydh57CgAdti V3+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si3363042ejz.383.2021.04.01.00.24.34; Thu, 01 Apr 2021 00:24:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233553AbhDAHU7 (ORCPT + 99 others); Thu, 1 Apr 2021 03:20:59 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:24056 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233151AbhDAHUt (ORCPT ); Thu, 1 Apr 2021 03:20:49 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id F1F509803BB; Thu, 1 Apr 2021 15:20:46 +0800 (CST) From: Wan Jiabing To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] linux/bpf.h: Remove repeated struct declaration Date: Thu, 1 Apr 2021 15:20:37 +0800 Message-Id: <20210401072037.995849-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZHUhLGENIGB0dH0sdVkpNSkxJTUpNT0xPS0NVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MRA6DAw4MD8KFjQJQiw5ShkK GlYwFAhVSlVKTUpMSU1KTU9MTENJVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKQktINwY+ X-HM-Tid: 0a788c4e55cbd992kuwsf1f509803bb Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct btf_type is declared twice. One is declared at 35th line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing --- include/linux/bpf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 3625f019767d..2fd8e775a17e 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -903,7 +903,6 @@ struct bpf_link_primer { }; struct bpf_struct_ops_value; -struct btf_type; struct btf_member; #define BPF_STRUCT_OPS_MAX_NR_MEMBERS 64 -- 2.25.1