Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2484240pxb; Mon, 19 Apr 2021 06:52:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzByu7iTmpugcZNAv2sAoEPM0qMCBlW8ZxAjqYW2Ho7pkIcmpkfydMMp6tNpKOCm2Jv4sOS X-Received: by 2002:aa7:cdd6:: with SMTP id h22mr26352224edw.10.1618840331717; Mon, 19 Apr 2021 06:52:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618840331; cv=none; d=google.com; s=arc-20160816; b=elySw1K2LfRhgFoHqkdmuuYltJAGIrMizDfyeGbkiU8GL6ACVAmLvaD9icL7p6dCEf ReIlQxLDLLDDMAlwYUrYKQAV5VDgdbJhYPSAqfcfSL27Alm+Hbq6lYzfclmhlFxEIYue wUjT2AeVNGJgccXe45g7TEoQphnpfIXzMRSD4Km7wN4wtgXlgjzcqd4oMxtmK/1f1wvn QpFn2rMUS2nHR0WzomEDdjBeaAdUMionnTsxuz50ePjWxMLVwFG1nUXR3bXmZGnnK4Ii OudL7p42SBN/IVsBai8SDc/hnHLtIR9ncytowWWserf7F8+VjrB92BchdkRz3Qn54r/E +xfw== 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=EFDT2iIQZOoDdHvNioXc7DQjFU/4u2e1PXvt1BENO0Y=; b=T6i5JpM9392NEyfdUa0S+FU/7Xe7xeeTIzGycg7HWq83401htyN6cbtNqn4h5/wk8A K04RxbSXQaycNlau8u33IogWU3gY/CW+RpCZOwrpLqrxlHVbii9hQnRXd8kpS07vcIw8 B9+9bQdYN1/L2OMhchTH8l5mJPtcElnPpK1dZ/HGIXhcm5FqsAkhONvji/qSt+fDnmBr OByeGTT6j6IMsoD9L5c7QeP+5sTlCVhXmyuvojZn9kKlJ+pcbTPUB9OmGxTRAqVWFA8w 2+hE0hCfKPtkdvdrKrVaR8X6SOkXR0uJkqGFnfsJSc/+VyWiybeaZFL7IGMuwdNO7hlQ 00Ow== 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 f2si9143497edl.536.2021.04.19.06.51.45; Mon, 19 Apr 2021 06:52:11 -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 S235273AbhDSLTH (ORCPT + 99 others); Mon, 19 Apr 2021 07:19:07 -0400 Received: from mail-m17635.qiye.163.com ([59.111.176.35]:19758 "EHLO mail-m17635.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234812AbhDSLTG (ORCPT ); Mon, 19 Apr 2021 07:19:06 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17635.qiye.163.com (Hmail) with ESMTPA id DC40E400513; Mon, 19 Apr 2021 19:18:34 +0800 (CST) From: Wan Jiabing To: Thierry Reding , David Airlie , Daniel Vetter , Jonathan Hunter , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] drm/tegra: Remove duplicate struct declaration Date: Mon, 19 Apr 2021 19:18:26 +0800 Message-Id: <20210419111827.41390-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 oVCBIfWUFZQh8dQ1ZMHR0YGEJDGB5NT05VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Nio6MBw4Dz8cChQRSUJISxUs EhFPCzBVSlVKTUpDQ0hKSkpOT0JCVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTE1JNwY+ X-HM-Tid: 0a78e9da837dd991kuwsdc40e400513 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct tegra_dc is declared at 13rd line. The declaration here is unnecessary. Remove it. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/tegra/hub.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/hub.h b/drivers/gpu/drm/tegra/hub.h index 3efa1be07ff8..23c4b2115ed1 100644 --- a/drivers/gpu/drm/tegra/hub.h +++ b/drivers/gpu/drm/tegra/hub.h @@ -72,7 +72,6 @@ to_tegra_display_hub_state(struct drm_private_state *priv) return container_of(priv, struct tegra_display_hub_state, base); } -struct tegra_dc; struct tegra_plane; int tegra_display_hub_prepare(struct tegra_display_hub *hub); -- 2.25.1