Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp77829pxf; Wed, 24 Mar 2021 21:41:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8KU05kOIXTed60oY2pX3U3TYv08EUc+sqMchORUdjypLqvdZ4OA31z+u2pyVF7hwX1qyp X-Received: by 2002:aa7:c6d2:: with SMTP id b18mr6884481eds.183.1616647303161; Wed, 24 Mar 2021 21:41:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616647303; cv=none; d=google.com; s=arc-20160816; b=Sa6Wey8zMTu7wSqLPPpAyPMcB5dVcI/Wg9CCVp7m5FbJBwywUj6rF0+QUZrlH2vJnj 9zj68qt59SzTx4Mjqq2GJobccS3ouPX8ZQm3i/W1D5vLyD+n9AK8e304/aPHBNyZKIVL 2rj2WgBE5FK2cU2U4ZdRQv4jUgMBtsQqH9JtrrJpCNzlZq0RYzJSVpUJFd8211sITQf/ PFBgkpC6l78Rw6frHgN2DhGl1Njy93fiPIz4a0gYLu4NUXmWfhz56qazBx//ZDrRKYN1 yBV2j8rx68Bn+sNbvnPn6pda4Ro1fFyA5Xuv8DHqCJlwzQTDhNkp7kcqji0oonYxDRcw iG3w== 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=WXc/mrVI+Nh1GNHJz0cNwaJI/bq8nZzYPPv2pyvf4/s=; b=V2i1HZ8Y99Bv/3B6PgXTw7CTuc84Xyj8Yi0cOQy7ai1/iiId4ix2CDBaPb2FkdOkBw ugZyc+DS3I91Vlca00O7k1xaLF2URhvHcAAJkAucV065hYfX6i2mNSrZpWKeK7kOasQG ssEOm/9Ia63ubX6RSrJsjM7YYUrA2c56zUvRlAfwlXA1LRmV3kGW5D9Ikjkp/pL5+ZnR My9GdTB0lVtaQ7AbvooqIQEZCABOTxdJNPrwbGzEmnLHoCBOvN84/hsSZvudK5/3TWTY tcgGLMC5LEtm/0F+rK3XUeeYqoAZ5F4lPO1Eq1i2o8yw9elcMyPauehEZ0V8e8+qVvCz mSTg== 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 la25si3394753ejb.703.2021.03.24.21.41.20; Wed, 24 Mar 2021 21:41:43 -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 S229547AbhCYEkX (ORCPT + 99 others); Thu, 25 Mar 2021 00:40:23 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:44366 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbhCYEkJ (ORCPT ); Thu, 25 Mar 2021 00:40:09 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id C756A980243; Thu, 25 Mar 2021 12:40:05 +0800 (CST) From: Wan Jiabing To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Kajol Jain , Wan Jiabing , Adrian Hunter , linux-kernel@vger.kernel.org Cc: kael_w@yeah.net Subject: [PATCH] tools: perf: util: Remove duplicate declaration Date: Thu, 25 Mar 2021 12:39:34 +0800 Message-Id: <20210325043947.846093-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 oVCBIfWUFZHh9DH01DHRpOSx1PVkpNSk1NT0xJS01KSEJVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MC46OAw*Fz8UND5OPzJROE8u HyswFBpVSlVKTUpNTU9MSUtNTktIVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFJT0lINwY+ X-HM-Tid: 0a7867aeb4b9d992kuwsc756a980243 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct evlist has been declared at 10th line. struct comm has been declared at 15th line. Remove the duplicate. Signed-off-by: Wan Jiabing --- tools/perf/util/metricgroup.h | 1 - tools/perf/util/thread-stack.h | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/perf/util/metricgroup.h b/tools/perf/util/metricgroup.h index ed1b9392e624..026bbf416c48 100644 --- a/tools/perf/util/metricgroup.h +++ b/tools/perf/util/metricgroup.h @@ -9,7 +9,6 @@ struct evlist; struct evsel; -struct evlist; struct option; struct rblist; struct pmu_events_map; diff --git a/tools/perf/util/thread-stack.h b/tools/perf/util/thread-stack.h index 3bc47a42af8e..b3cd09beb62f 100644 --- a/tools/perf/util/thread-stack.h +++ b/tools/perf/util/thread-stack.h @@ -16,7 +16,6 @@ struct comm; struct ip_callchain; struct symbol; struct dso; -struct comm; struct perf_sample; struct addr_location; struct call_path; -- 2.25.1