Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp87860pxf; Wed, 24 Mar 2021 22:05:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTV8hVZ5kLH2DpU9FPii3NN4JrctO76Co4ad7t+IoG/6Y/HXvxfdtc2KBl/FG+B0rOhEK+ X-Received: by 2002:a17:906:938f:: with SMTP id l15mr7248113ejx.15.1616648735866; Wed, 24 Mar 2021 22:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616648735; cv=none; d=google.com; s=arc-20160816; b=WdGJ3N9YoKyPjc/9639wWhFFGncg+nBQQ5DMrl4x6z9uepZ8lSZ/Z59r3ZvRiuNGHh iNYvwvccyGZcYjdJ0RD1mOVRtNJy6muutoE48ZHJghwqZDCQRs5TC+1azMmDyXRGLYe1 svcZd/Gh33aXYNbxIEnN9qjSFeUSpB9WxlzvMI/k9YUdzm0as5ryiDXxb20M33WB/3d3 XUXr313tUINCy0H5AKaqcXFJPw3OCeslvqkTGvQEQA9gSZP8borg5PL8sn3s4qv9WnJv tAt01W1d/A7uKzc65K1jPUYIGsDPk2dCNKxHgZdg0FyU5NDQQ4Wr2zgtwWyzRsYn7qzU 33EA== 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=LXft7nTSGm64NMSL3FnJN+2RRSNJz+ibGulV2KkYM44=; b=fMb9kyocuDyxzCS2Epr285VPveSogglHv21vp3EWdrFa2heEJ4AM643LC0ZgTi8MLg wP+RyKFpnnQgaQMp61+mWpUJ/a9PXp0cCl+jBmfYyBua+e2SOj8pYSk5jGs//rUC3svJ Wjvn+wKZ3doniB0OZbByrwAONIHNAwRCrdLS/by5TEH+qPN3vM+dq3JU8vOzy1WF6u3r lQfjkP3MQsNbGE3UeEzHAfuqKVHzV6v/EgTcSJtGfgBgnj/bNiSVMj4Y1NB1yUVqyFHS VplSLgdu++LsRQYkLSUDPzjNbq+jgR52UrpRG25yv8k2KQW8YPe+rA2C7a/S5STTNX8X RUyg== 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 nd10si3321243ejc.600.2021.03.24.22.05.11; Wed, 24 Mar 2021 22:05:35 -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 S229519AbhCYFBn (ORCPT + 99 others); Thu, 25 Mar 2021 01:01:43 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:29460 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbhCYFB0 (ORCPT ); Thu, 25 Mar 2021 01:01:26 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 65E7C9802CA; Thu, 25 Mar 2021 13:01:23 +0800 (CST) From: Wan Jiabing To: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Wan Jiabing , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Manasi Navare , Lucas De Marchi , =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= , Dave Airlie , Stanislav Lisovskiy , Pankaj Bharadiya , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net Subject: [PATCH] drivers: gpu: drm: Remove repeated declaration Date: Thu, 25 Mar 2021 13:00:45 +0800 Message-Id: <20210325050059.848207-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 oVCBIfWUFZQkgYGE0dHxlDHUtNVkpNSk1NT0NPQ09KTE5VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NVE6Eww5Fz8PGj40LxULAj8z KRgwCzNVSlVKTUpNTU9DT0NPTk5DVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFITExJNwY+ X-HM-Tid: 0a7867c23509d992kuws65e7c9802ca Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct drm_i915_private, struct intel_crtc_state and struct intel_crtc have been declared before. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/i915/display/intel_crt.h | 1 - drivers/gpu/drm/i915/display/intel_display.h | 1 - drivers/gpu/drm/i915/display/intel_vrr.h | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_crt.h b/drivers/gpu/drm/i915/display/intel_crt.h index 1b3fba359efc..6c5c44600cbd 100644 --- a/drivers/gpu/drm/i915/display/intel_crt.h +++ b/drivers/gpu/drm/i915/display/intel_crt.h @@ -11,7 +11,6 @@ enum pipe; struct drm_encoder; struct drm_i915_private; -struct drm_i915_private; bool intel_crt_port_enabled(struct drm_i915_private *dev_priv, i915_reg_t adpa_reg, enum pipe *pipe); diff --git a/drivers/gpu/drm/i915/display/intel_display.h b/drivers/gpu/drm/i915/display/intel_display.h index 76f8a805b0a3..29cb6d84ed70 100644 --- a/drivers/gpu/drm/i915/display/intel_display.h +++ b/drivers/gpu/drm/i915/display/intel_display.h @@ -48,7 +48,6 @@ struct i915_ggtt_view; struct intel_atomic_state; struct intel_crtc; struct intel_crtc_state; -struct intel_crtc_state; struct intel_digital_port; struct intel_dp; struct intel_encoder; diff --git a/drivers/gpu/drm/i915/display/intel_vrr.h b/drivers/gpu/drm/i915/display/intel_vrr.h index fac01bf4ab50..96f9c9c27ab9 100644 --- a/drivers/gpu/drm/i915/display/intel_vrr.h +++ b/drivers/gpu/drm/i915/display/intel_vrr.h @@ -15,7 +15,6 @@ struct intel_crtc; struct intel_crtc_state; struct intel_dp; struct intel_encoder; -struct intel_crtc; bool intel_vrr_is_capable(struct drm_connector *connector); void intel_vrr_check_modeset(struct intel_atomic_state *state); -- 2.25.1