Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp423029pxf; Wed, 7 Apr 2021 02:58:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybHEChm6ebVKaQ1u7HcHFk3b+Iq1J41cGHjYtXyKhAO/jHN46JNU47EI8Grp+/MHjgHhAr X-Received: by 2002:a05:6402:3596:: with SMTP id y22mr3360617edc.207.1617789499608; Wed, 07 Apr 2021 02:58:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617789499; cv=none; d=google.com; s=arc-20160816; b=0UHod5WJJi1Q/guCqPgkQreEBAq3xs+z/Vdtpzx4/vStZZ7oYWS1Fm/ILy3Pi7VB4J 6+N/guysPTNs/XqpAjeCSaxLIRoBkpzfFQAU+zbWS8c5X40ESd07SEsbH+f06S+3swhI hxQyMQqpwEMUN3UdDDlfScQInuqSg/2JRXoEdG6uZxrlmO/HnNllRVzROBXEvybY5pZY N/81VGv9x3i/Byw8d26AP2NYvn2WFbrmQf1TB/5suh4iFDvJtPqrzda3reRMSHqrjdQC u1cfHPXF43h+Zp2cEhaYHyEs8UL6MMIqC4IGv52EFB0igVAV4Bg0IL0KEW/SZV6DgsXe JxVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=41AALyvOPUVqRuYYVjMkk0+qX3J9AERo+RD3QQlRefY=; b=jAx/DpLowxOKxpot/XoAB+HPLo3e+8nsXsnjP6p0FeKDjTtoXhgrMbaP8y/FKGyIVa Zux9j91cquden1WsGpSmgZuZ+ea4RT1PpnI+kQ/t6nFQFBkSf7ROSrkoVPk+Zz5OBSUI WneaiLnYnyf3mgyDhS80j37FitCGbi0ZdoAL1XeeMoqNjgpawyQcgc5iHf8ZYertyDro fdlSHmCCVqx0helSjhupBBkj9f4WjBU7v8oE0dQSnE9eBwuxpk9D9uSmRpGNkGmkfs1l bePlCgGpTa9V/mguXWu42XWohYJm96vVsQgLTNwDi7jey6gyxSDhWtDvWMn8JhEstp0B e04w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Avr4uKmc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si5848515edd.369.2021.04.07.02.57.55; Wed, 07 Apr 2021 02:58:19 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Avr4uKmc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233422AbhDFQdY (ORCPT + 99 others); Tue, 6 Apr 2021 12:33:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:45904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232913AbhDFQdY (ORCPT ); Tue, 6 Apr 2021 12:33:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 262DF61242; Tue, 6 Apr 2021 16:33:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617726796; bh=i9cAfTfFodn8EtmRiY0kHTygQzNwzpycJDXRyZy51Es=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Avr4uKmccnZOBbdf+RRmwIRkizkXAM/HaQqwOp2yvm5GAPcngcx3yMCC9kYHuWptX /32Yi/dipoysoPYpNblS9RtjiIokQscSglrROaWqO43wSbzabdkAw6S2PPavhKQwBP J8FgV5AxlGkcoOiniUkh1WYFrajKFmJdKSE9SVk/88td1vY6OzK+AIgoXznokuy2yD dfB0UaCKk5ej+aHQhzUJR2EiHQdN5/HdD1vwgCEIhytfvnJVAyxR0NVONEuLkSbuCm UkIJjB3ZqfrexG+4SriLnUNmT11+lUFBFoJSUmFTOUs8Csxr0oBHDMT30ByngwJa/J CixUWKtbts5Kg== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id E00AF40647; Tue, 6 Apr 2021 13:33:12 -0300 (-03) Date: Tue, 6 Apr 2021 13:33:12 -0300 From: Arnaldo Carvalho de Melo To: Wan Jiabing Cc: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Kan Liang , Leo Yan , Ian Rogers , linux-kernel@vger.kernel.org, kael_w@yeah.net Subject: Re: [PATCH] perf: util/mem-events.h: Remove unnecessary struct declaration Message-ID: References: <20210406105104.675879-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210406105104.675879-1-wanjiabing@vivo.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Apr 06, 2021 at 06:51:02PM +0800, Wan Jiabing escreveu: > struct mem_info is defined at 22nd line. > The declaration here is unnecessary. Remove it. Thanks, applied. - Arnaldo > Signed-off-by: Wan Jiabing > --- > tools/perf/util/mem-events.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/tools/perf/util/mem-events.h b/tools/perf/util/mem-events.h > index 755cef7e0625..5ddbeaa057b0 100644 > --- a/tools/perf/util/mem-events.h > +++ b/tools/perf/util/mem-events.h > @@ -44,7 +44,6 @@ bool is_mem_loads_aux_event(struct evsel *leader); > > void perf_mem_events__list(void); > > -struct mem_info; > int perf_mem__tlb_scnprintf(char *out, size_t sz, struct mem_info *mem_info); > int perf_mem__lvl_scnprintf(char *out, size_t sz, struct mem_info *mem_info); > int perf_mem__snp_scnprintf(char *out, size_t sz, struct mem_info *mem_info); > -- > 2.25.1 > -- - Arnaldo