Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4243372pxy; Mon, 26 Apr 2021 23:37:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycHsg/BKVfhu4XzpUtF82d4Weqn0EJ/p0JpzAwWX+txV0TzHYCSUKPzEYSER3RYe1+5+Ji X-Received: by 2002:a05:6402:5113:: with SMTP id m19mr2577091edd.78.1619505463535; Mon, 26 Apr 2021 23:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619505463; cv=none; d=google.com; s=arc-20160816; b=gGXh2a/r5CnRj7W4s7kHFCcvFuGv5JK1lu1ewNla1HbZ+jh73dXq3P4teHnBTD9Opv NEyOhQPmKc2Ri2MqVG6R6+dUFZZwzgfWEGiPAQAUxH/cmNYlmfcjzOyepg4CX1lPG3T3 mMOnj0KPZ3mOXO1PGJctFPM5NmgkKSeyt3bcmZRpPu7SC7YB4iv6JNGoxfWa5ct1Na5y mC/3H67A25NPDK0IiAF69+xty0gl4oZLKBSiYYGuekqbXx/8SJXr91qBdQrfJpKEsPe+ 8bfGirX1CL8sdbf9UFron1/EMUSAkZvWh0TlOqEpQY1OPiWbNMFEfP3k7gtiHQ9AUk11 CVlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=SXUbd5xh5KKrYXmMS+xUTYTz65FzCDBvgSUvYsX7LuY=; b=hV5K8PmcTD36JBzAjFoqddL5D27G+WKnvb6frvGRszWL9wI9T4y3dTaSudgZvuwZM6 QbWeZeAnlIJ1V60ibArt4/jgS6Xp2OUv1+ja3f1SCvyABJrJnZVPgkkwJYArKQBk0I6P deKWb32j9CteQ4C8IB9NFewxTU53CDkrjV5lNC9XmcDuZdJOBtnnpyQPdn+oWmc0Pj8/ Bsdrg/EWHbgzTcpaEit/kmdOY1kh/jeCaFeAMVxeGzgqQL6Qq1NDambgEOq/JgXDDegS k5QMy1LmcnNtdSwp+V49ENXMsy0/4u8qeGM2OQX89FaBRvUgwrv/0c3UqN3mjmhzQhhH s0SA== 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=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si892931edc.242.2021.04.26.23.37.20; Mon, 26 Apr 2021 23:37: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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232855AbhD0Ggv (ORCPT + 99 others); Tue, 27 Apr 2021 02:36:51 -0400 Received: from foss.arm.com ([217.140.110.172]:45702 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232783AbhD0Ggu (ORCPT ); Tue, 27 Apr 2021 02:36:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C640431B; Mon, 26 Apr 2021 23:36:07 -0700 (PDT) Received: from e120937-lin (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E738F3F70D; Mon, 26 Apr 2021 23:36:06 -0700 (PDT) Date: Tue, 27 Apr 2021 07:36:04 +0100 From: Cristian Marussi To: Wan Jiabing Cc: Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kael_w@yeah.net Subject: Re: [PATCH] firmware: arm_scmi: Remove repeated struct declaration Message-ID: <20210427063604.GH43717@e120937-lin> References: <20210427033031.4580-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210427033031.4580-1-wanjiabing@vivo.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Apr 27, 2021 at 11:30:31AM +0800, Wan Jiabing wrote: > struct scmi_protocol_handle is declared at 34th line. > The declaration here is duplicate. Remove it. > You're right. Reviewed-by: Cristian Marussi Thanks, Cristian > Signed-off-by: Wan Jiabing > --- > drivers/firmware/arm_scmi/notify.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/firmware/arm_scmi/notify.h b/drivers/firmware/arm_scmi/notify.h > index ce0324be6c71..4e9b627edfef 100644 > --- a/drivers/firmware/arm_scmi/notify.h > +++ b/drivers/firmware/arm_scmi/notify.h > @@ -79,8 +79,6 @@ struct scmi_protocol_events { > > int scmi_notification_init(struct scmi_handle *handle); > void scmi_notification_exit(struct scmi_handle *handle); > - > -struct scmi_protocol_handle; > int scmi_register_protocol_events(const struct scmi_handle *handle, u8 proto_id, > const struct scmi_protocol_handle *ph, > const struct scmi_protocol_events *ee); > -- > 2.25.1 >