Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4135698pxf; Mon, 29 Mar 2021 23:23:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6s9biKeojg9TvyENveJnOrOeAOjWZTAIaQ4NNhF0PTCnxqQB6vUFWHM+qCfBzoJQvOxRC X-Received: by 2002:a17:906:354a:: with SMTP id s10mr31371459eja.21.1617085390133; Mon, 29 Mar 2021 23:23:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617085390; cv=none; d=google.com; s=arc-20160816; b=Zhq9F6eKe71sFHRgB6RZ7G9yyt+Hx+iuEN7lsFQrA6lWnskG7JgiNd0eHhD5FtkjdG 4p56tYoiM7A7kGKolZQ4LdMEvTdl+ojjBo9CvxfPMb9fiJc8fDLVWZcA7EJcJOu4OpGp ZcJ2KcUsm6x4e0GAER3g2Kt9YhAJ+b2vCiWPYiMPq+YdDQDAZHMpg3F9u11iyMOaZQOD Mj5MFQUL87UcVrpfqN94YBcEv9lgoqc8DmYDG2gkA15kBgx2EoWLjgq2UOKBjA+oCImO p5f5d6W6gGIkwPhiquGVeOCQfbBVf+8mqmEjRUOriAhVPZpkQwGfJS6hLSiyRu/WIneM KHTw== 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=Y5AaL5WJ7SqY2Clpn1U1J+XKn7N0mZiEHnTFiJXHWdA=; b=L4/q1uuYYMexTDtNhJMqCTIYhZt0JzrfVpY2EfrN2zK5QGjhSWzIv3NCiPaa/1MM/3 oGTv/EL/Mb31nlbDgWojrfQKVDwQtKVKZaqaJnqKwd+vFjMfxW5SoXba9s4FWrq7iGxv 7VLUu8FFwaFSYhdSW6rv8I5Ybg9AvQWYm2GkS5weMswTXm0MuuZxUdFHh4rTh8seQpdT ygeg/EYDCG2mhqi05/ABp+XlowU9fPR+7tAGzXsRJCqtVUxk1lUDbrXe96H7Bfo0ZGAs 2QL0xcHqo/bgcdNAYORg6Phs3Qc9l3pKRYVhb6CGYepKPp9Cbpusy46Gu7gmKERe/Qet FWVg== 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 b7si14942361ejv.268.2021.03.29.23.22.47; Mon, 29 Mar 2021 23:23:10 -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 S230377AbhC3GUn (ORCPT + 99 others); Tue, 30 Mar 2021 02:20:43 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:8872 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230303AbhC3GUX (ORCPT ); Tue, 30 Mar 2021 02:20:23 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 3F8AF9803E1; Tue, 30 Mar 2021 14:20:19 +0800 (CST) From: Wan Jiabing To: Minas Harutyunyan , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] usb: dwc2: Remove duplicate struct declaration Date: Tue, 30 Mar 2021 14:19:08 +0800 Message-Id: <20210330061908.2268499-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 oVCBIfWUFZHx0YQ0NDHUxOSU0YVkpNSkxLQ05JSkJPTUNVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Mk06Mzo6GT8WFjc9KBhPNkwU NC5PC0JVSlVKTUpMS0NOSUpCTE9CVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKT0xJNwY+ X-HM-Tid: 0a7881ca4234d992kuws3f8af9803e1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct dwc2_hsotg is declared twice. One has been declared at forward declaration. Remove the duplicate one. Signed-off-by: Wan Jiabing --- drivers/usb/dwc2/core.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h index 7161344c6522..8407bba523ce 100644 --- a/drivers/usb/dwc2/core.h +++ b/drivers/usb/dwc2/core.h @@ -210,7 +210,6 @@ do { \ #define call_gadget(_hs, _entry) do {} while (0) #endif -struct dwc2_hsotg; struct dwc2_host_chan; /* Device States */ -- 2.25.1