Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4064996pxf; Mon, 29 Mar 2021 20:43:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJStcKgCVCm72Y7pRcbSNE2kYc1OQhjjzwqK5JOble60YQs/GwZ+majN/gknefd8iVYCd+ X-Received: by 2002:a17:906:801:: with SMTP id e1mr30596168ejd.465.1617075804652; Mon, 29 Mar 2021 20:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617075804; cv=none; d=google.com; s=arc-20160816; b=pmLBZ1alsvOMzWmHwM0JIgf2eMUThsQ7OuCIHljYQW7BLyW0XDNqmgBrlrHZ4O8BI1 mRtxb2ewl2cx0/dcy0IlS4d41j5jB9sKqlDuCFzikqWkCevoGfQf8yM2n6C4J0jy3TK9 dDj4nmxHZAPwbJzWaSeNXgCBEJ5hhlA69jHVswKK4dQsioxJnHKbQU2PRuGFeM66CCqn sqsNYWWVi681C6ItL3oWH3V4MN14YsFYscHHIZq1GgmLFE82roOFBLjsH2+nVR0liB7b x/PL46sFdASm/iczqkyOmH6XTc6gY73wktRpJhHyG8mToUBw+XDvHaja608u89+GCHgX 43Pg== 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=HLH7VSJBeChGgRe8NssXdAy6ku0EWs8xezjCoDD0tiw=; b=PhDqM7X4H2YGi1UzE5Gd6jiynV4P0jKFtat2dDTIcgB9oCDZsUWAf1qhmR00wBP+1i 49Zqhw3RMIZu1rTTfZpt8MUpRag8JOB6vAEpPh/yzkD6MYUy/HWjZsMTWYc7Ceh09adg 0pfVxH75fDoH+899vwa8a40kkLtoOagd0QgCj72VKVcHdbkDrD59oh8m1131B0wyghE1 QswtX3cDUIQX6mV4BSvVanYfFa/gaCPJnVi0K1rEYF6gHU9p7P95uud45mpmbBNUyRVD GaKFCk1GVGWkKbFszrdr+bEA+MYRHAVmnPihfNg7ACDvWqjxz7XhiQCZY7nz5LiA0TCI C6kQ== 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 i2si14241755ejj.554.2021.03.29.20.43.02; Mon, 29 Mar 2021 20:43:24 -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 S231184AbhC3DmE (ORCPT + 99 others); Mon, 29 Mar 2021 23:42:04 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:43364 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbhC3Dli (ORCPT ); Mon, 29 Mar 2021 23:41:38 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id A0EE99801E4; Tue, 30 Mar 2021 11:41:36 +0800 (CST) From: Wan Jiabing To: Steven Rostedt , Ingo Molnar , linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] [v2] linux/trace_events.h: Remove duplicate struct declaration Date: Tue, 30 Mar 2021 11:40:55 +0800 Message-Id: <20210330034056.2266969-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 oVCBIfWUEVDhcXV1kJDhceCFlBWTI1LTo3Mj9BS1VLWVdZFhoPEhUdFFlBFQ4XFwY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Ky46Cyo4SD8VHjAdNDAxNkgc ChxPFDNVSlVKTUpMS0xOTUJNQ0pPVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTk9JNwY+ X-HM-Tid: 0a788138f470d992kuwsa0ee99801e4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct trace_array is declared twice. One has been declared at forward declaration. Remove the duplicate. Signed-off-by: Wan Jiabing --- Changelog: v2: - Undo sorting forward declarations alphabetically. --- include/linux/trace_events.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index 28e7af1406f2..0237094e51f6 100644 --- a/include/linux/trace_events.h +++ b/include/linux/trace_events.h @@ -404,7 +404,6 @@ trace_get_fields(struct trace_event_call *event_call) return event_call->class->get_fields(event_call); } -struct trace_array; struct trace_subsystem_dir; enum { -- 2.25.1