Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp822839lqj; Mon, 3 Jun 2024 01:34:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVkyuP4zdc9omXuhb8+eqJFtERSwOI8JL7k1LUGMJdd0OMjsJ+Ij31Mrsnm/C1tGrtgddBX8xBOaeDpr+BEpajCZjbgp+rKzoTwCZmbNw== X-Google-Smtp-Source: AGHT+IGGswIkifnGFJHx/8X64cWEYijzsgO60S9a9l3uWZt4yHF3K03+OfsEW98aDPlMuG+n68ny X-Received: by 2002:a05:6358:590f:b0:186:41a2:cbd2 with SMTP id e5c5f4694b2df-19b492d657dmr1120380655d.27.1717403686310; Mon, 03 Jun 2024 01:34:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717403686; cv=pass; d=google.com; s=arc-20160816; b=LWPT2X66hqApHIXKFFB7ZBg87S7NntFs5IlvODmTFppT/XutmBNtu2N7bNoPxAl/Ny 5t30lSoWVZeXbp3KHtkb48lsZ5SwSq28P6mhHhB0nyaPfXxPf/lQMJfV3/2IpOXD0Ezc 7wAN576npbxw1emgUdahHUo7LAHoqjYgh+k10uRC9GTr+ti81eOUeiBcQ81tDQWKZZrn St2M/J6UF+gTjxklilxAZMgVSq5S4kJb8ndn/A2o6yib6l0xTLEx6T5g0DrVtK+S0k0c pFJjf4JktRCuY3hP896U7EeF7gzomf5XCnFXdAkbwZzMK8Q34eatFB5GUrhSoJotj8oI wzzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=/p8pQTR3avqJtx3SK3xla+Qx5dLGyfmE2bxVRSj+h6k=; fh=eXpx26rEiru3aLds3EUPd8kV1pcCRDH2QnukVNLg774=; b=zxm/jCAE5gzP3nS7NhylRG0fB1e7JA3WdvsuGYK0v0syj6d3cnzpJzJAYgKly+eKe2 R9/WvjahDj7pr2UsWfsAUuxpN6WhJvgk8/uB58x69yFPeN674nlY1gaTcqDlpnOSd9zh YrLP9YNi3jPhQKLyut6z/Uc9Q8zLzoM89v3L3LY1oTU5j8GRjylkTsvf131yGzJpBP5h aVJSSUNMqbI7N5aUVKvmt+DWCjd0iaiLxQgGStuMd+Tv4KXaz9TDVBXJQxGH3AyamL6q m9r8Vy115WoxXjy+gEuzKTCebkRHXD+1Wv/Yoj0xEyMBSNlH7fVw74a5uzZSyuc+s6B/ A5IA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-198786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35c55285fsi6089165a12.675.2024.06.03.01.34.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 01:34:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-198786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E69E9B2176B for ; Mon, 3 Jun 2024 08:31:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C43BF5FB9B; Mon, 3 Jun 2024 08:31:49 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F7CC111AD; Mon, 3 Jun 2024 08:31:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717403509; cv=none; b=tyE/g9hHblZOoy7EmXqNolFFhJ5b9ogkKdzpH/XjhhMqtH92fWvCVnmxgEvWjn9Rwy/KIZpVDU6s5alnM1sOGjXzIndDmK6U+LhcvbsY/4xxiWiD9RpWJz+o0ekqC3MkqBHEQcEQXFlTr3Ch/VpUM1AYYjD3g9hmw0WvlOR6fB0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717403509; c=relaxed/simple; bh=Mq6nYuQC+dRiEYAxEHu1K3U2Fr6SaOQyUVfSC5C8K9M=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aXzcvto5pnPkEX0B2UV+HujDW+LbmX7T7LVELPL0nJ+PuckI06W16o4sbFuuzqPNU4hLizTv5OJYhG75yxtQWYDc9r95tzwuPOBjJyOuiJohFo9+kX7fDr5B+yZfKO10EvMcbNQNAX491nMABhIB0GwlJM3JF2i70G0wl4kCBN8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Vt6Kc5wrlz6JBGy; Mon, 3 Jun 2024 16:27:32 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 0BDE8140B63; Mon, 3 Jun 2024 16:31:45 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 3 Jun 2024 09:31:44 +0100 Date: Mon, 3 Jun 2024 09:31:45 +0100 From: Jonathan Cameron To: CC: , , , , , , Subject: Re: [PATCH] perf hisi-ptt: remove unused struct 'hisi_ptt_queue' Message-ID: <20240603093145.00001de9@Huawei.com> In-Reply-To: <20240602000709.213116-1-linux@treblig.org> References: <20240602000709.213116-1-linux@treblig.org> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100002.china.huawei.com (7.191.160.241) To lhrpeml500005.china.huawei.com (7.191.163.240) On Sun, 2 Jun 2024 01:07:09 +0100 linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" > > 'hisi_ptt_queue' has been unused since the original > commit 5e91e57e6809 ("perf auxtrace arm64: Add support for parsing > HiSilicon PCIe Trace packet"). > > Remove it. > > Signed-off-by: Dr. David Alan Gilbert LGTM Minimal Reviewed-by: Jonathan Cameron by which I mean I searched for it and indeed found only this definition. > --- > tools/perf/util/hisi-ptt.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/tools/perf/util/hisi-ptt.c b/tools/perf/util/hisi-ptt.c > index 52d0ce302ca0..37ea987017f6 100644 > --- a/tools/perf/util/hisi-ptt.c > +++ b/tools/perf/util/hisi-ptt.c > @@ -35,11 +35,6 @@ struct hisi_ptt { > u32 pmu_type; > }; > > -struct hisi_ptt_queue { > - struct hisi_ptt *ptt; > - struct auxtrace_buffer *buffer; > -}; > - > static enum hisi_ptt_pkt_type hisi_ptt_check_packet_type(unsigned char *buf) > { > uint32_t head = *(uint32_t *)buf;