Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp248117pxf; Wed, 31 Mar 2021 23:27:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVh0V9UGbnfcgQOt3qc8Xdmv3Knwh451fbQFPUsHzbXb1Bbt65AoraGp42B+UrxztCy+aK X-Received: by 2002:a05:6402:408:: with SMTP id q8mr7875042edv.201.1617258429142; Wed, 31 Mar 2021 23:27:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617258429; cv=none; d=google.com; s=arc-20160816; b=LufsgDAonkzL0E12TtH7QQVBbWZP2qcoZjutqBgutbPmJKWydOEPnf7Xage4LH7QeC vKrHFpqAd7Rbzanw3Pn6ENPmwF7suhlJnQSaFC6zVVzRDzKfubnG8tszkYun7CjVIeW3 NyUIhs1goV/UP7cuB7B49vjS3edgE30KSOQ2Is2cmELZzPaXm17Wqcb5S5NDgwE08b5f +04jYiKpi8AXd4CJ3qm9I+eYhAWJEnj83fSoU1OU8x/zQFFd9xA+y3OzA7PC5plz2jGu XWyjyn3X08kNT/RlFzxVeIdjE2JRz+CehOrIGQhh0zXXDuiX2JNTBY8xDXL3Ich3axzO 3+pg== 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=BqAvxyy61u8LW3Udr825yYcoWS+eLaySnxOwObQzo5c=; b=BUogGoVOLvuCXutMveMMRXNqhvbS0UOeje+a6WD5WPlvLU01JrrjcqrNjtLORs2nf+ O480l5vY6Yb/MddFl+9/6mgoijGzXKw/It8Ef8sGR7tB8mJU3npKbLX/3GwA9goNN521 8ZRTp5hc3oC5nedqDUaI7AeDQ6EG7ZlA/i2UxCYeKy0ATx63BEyoSfg3iZAW8Pd+DtAh hT3SsfmvIE04ZnTdU9CNBEpVVisxOQfuinYTIKFc8ryzZn1PpaQMqLko9bJFWa+TvZKL WrCOqx0G5o68qmMiA+v2mcHdL/ZE7dSsIBV1VzAy8ZhSvwVgQHgaV7E+7Z/Pf9iwx/JF CrqA== 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 qu4si3272718ejb.219.2021.03.31.23.26.45; Wed, 31 Mar 2021 23:27:09 -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 S233125AbhDAGZg (ORCPT + 99 others); Thu, 1 Apr 2021 02:25:36 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:48860 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233102AbhDAGZP (ORCPT ); Thu, 1 Apr 2021 02:25:15 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 3C2A498021C; Thu, 1 Apr 2021 14:25:12 +0800 (CST) From: Wan Jiabing To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] tools: perf: util: Remove duplicate struct declaration Date: Thu, 1 Apr 2021 14:23:54 +0800 Message-Id: <20210401062424.991737-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 oVCBIfWUFZS00ZHUJIHUJOSx5JVkpNSkxJTkNISklOT0tVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6M1E6Pio5Hj8JGjQjNTYOLggS FS0aCz5VSlVKTUpMSU5DSEpJQ05DVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKQkpNNwY+ X-HM-Tid: 0a788c1b7309d992kuws3c2a498021c Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct target is declared twice. One has been declared at 21st line. Remove the duplicate. Signed-off-by: Wan Jiabing --- tools/perf/util/evsel.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index 6026487353dd..998e5b806696 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h @@ -157,7 +157,6 @@ struct perf_missing_features { extern struct perf_missing_features perf_missing_features; struct perf_cpu_map; -struct target; struct thread_map; struct record_opts; -- 2.25.1