Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4158450pxy; Mon, 26 Apr 2021 20:32:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxv3uwJW0E+qaM9qfLXy0+9s4HHXopUDnSpC46DpjXY6FBUL2nT1oUUGeKh1XDpWQiIsP8z X-Received: by 2002:a17:902:ab86:b029:e9:47c1:93de with SMTP id f6-20020a170902ab86b02900e947c193demr22346189plr.69.1619494332543; Mon, 26 Apr 2021 20:32:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619494332; cv=none; d=google.com; s=arc-20160816; b=jsAab/Vb9ZEgnkGXnCzBSxy1csHY46/aGkKqyBWT5R5lhHIx7Is+H+x6CImQ+Pc7n6 Oz4FGJiMFatKhSVkrruYG7CnGhlC0f4nk2w6n3z0UYtzpLBWSSiWdyhzVJxj1VFF15kI HLAptSxYDaTRzo4eSWLM9vMRi557pl2qg8y4TLGPVdKFcKJ9i17cXFpssaRkWRYGBqEq BHoZUiHpidKjIExoQYtj4uZlWoQpeJRsdG2Eo5U0MsDcBnRMWnmqSaWSj6h/+imMRaMr A3PK2WFPqrv7V5zrY0IH2LwHdm2nhDHRR1Afff6BB1O/ocvbfitQ2AdOqRO0CdZ2WICe 05lw== 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=md6iXy7UtXNpGeXJQGv7QlJNppQfqPzwT6BGys+vzuQ=; b=WBxvlRzgYvdBuSpEnQylxvYKqad09V+iFB6tvm9AmUFJmd78A7MQtdyCcRTEQCT/Y2 oPo12YH39ubakBg30E7pPF/QPB5cG3BCeuXgBrdH6WlRx7206NGYIiTuTa11mNUxFFA5 xPYZSHS/GjQYZrchoruxTel1I4a++CfhYGQWydlqjMJ5mQ7U8XB+nfCD1tTaslc47u6K dQGb38cqoYET/yvsGXDtAKPkPo/S11CwzrRskEEOJGAxMv14rf24WBVZp4pUHKzRFlHi pnrtw1Zc4sTUh1QGOFt3zBGMghoEePnOSDuT8gzk4Q9j4bZH0+oLlYEcmm3KLN1IUlLG r6Vg== 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 lb6si2139258pjb.153.2021.04.26.20.32.00; Mon, 26 Apr 2021 20:32:12 -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 S234055AbhD0Db0 (ORCPT + 99 others); Mon, 26 Apr 2021 23:31:26 -0400 Received: from mail-m121145.qiye.163.com ([115.236.121.145]:23800 "EHLO mail-m121145.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231666AbhD0DbZ (ORCPT ); Mon, 26 Apr 2021 23:31:25 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 9AAC3800157; Tue, 27 Apr 2021 11:30:40 +0800 (CST) From: Wan Jiabing To: Sudeep Holla , Cristian Marussi , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] firmware: arm_scmi: Remove repeated struct declaration Date: Tue, 27 Apr 2021 11:30:31 +0800 Message-Id: <20210427033031.4580-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 oVCBIfWUFZQk0fQ1YdGh8YT0xDTkxNGEhVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Pk06Dxw4Ij8KFlFDNBA9Okk6 PTwaCilVSlVKTUpCT0JPSU9KSkhCVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTE5ONwY+ X-HM-Tid: 0a79116101f3b03akuuu9aac3800157 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct scmi_protocol_handle is declared at 34th line. The declaration here is duplicate. Remove it. 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