Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1368243pxy; Thu, 29 Apr 2021 05:48:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBXBvaFXRd4RC3GvaZHHARdM5hRo9t2V0ZJEJQww0guxStGcatuBS5cCND80VvMRsMI80u X-Received: by 2002:a17:90a:d184:: with SMTP id fu4mr9092301pjb.79.1619700518797; Thu, 29 Apr 2021 05:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619700518; cv=none; d=google.com; s=arc-20160816; b=HMlGJBlHtrHoRDVECK3x8R/2dwXZiy1K4m3qhsL4K+OTgZvT46KUQFO6gTST406ZUj 1aNV8uTb7sFsQGhFYuLwe2nW7R/VQ7uLtxLYbMOxxM7/ERGVpYdy7HT8eei0Ht7DDxAE JajueVp02neWXE0nNv8b0ASzdS0guS2H4bQ9wgNav7VnCsJ2N46wFztBg2pp07FHzfjV MO8XNjXURIaJjFaIOjNO9Wr+XPEwwP9I3jyrKygcyBCa5RkoMs5677DU3WChxsQhoqs3 Lg1/+f8DDmn5CDeYFlMma/aYjS2AXsv5TNjiF2WZavhn2/k7j6R+MYEXI/5Dpt/fMbpi krMA== 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=0F7gL66p0OouCdD1kGeV4lkd39KUwg5L2Q731VC0YIA=; b=T7YAaM5EFyew59hVRNLLXILaZ3a2fEie94xLiUxb5zl3U/zFKf0RrHBwW6mI+itG0U UlUEm1NGRLWGVywepTw21vQky9sFD+48vDeRBXuTSf2QufZOYvYfpixT3KbBF2vVARQI Oa3sxLkwelmu1uo5JTeN3IU+BfGgAip/BZG4TrXS1BPUMKzXV5mQeNCLiRLw2u3MOAiS D2gRWQLc5Pl/vC/5BcFlDMXoj8I+nqWltF2GF+Crb1s/4wjNuP0QHktweTouOPzCrYh7 Wu58FfgHhLCGxRz2dvpD5ItwN0SpHAB2MtzNHKt+fvWTCihrglKUscnCUMb2sBwPL5Cd XU8w== 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 h15si3434544pjz.99.2021.04.29.05.48.25; Thu, 29 Apr 2021 05:48:38 -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 S237302AbhD2Msg (ORCPT + 99 others); Thu, 29 Apr 2021 08:48:36 -0400 Received: from mail-m176218.qiye.163.com ([59.111.176.218]:53262 "EHLO mail-m176218.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233701AbhD2Msg (ORCPT ); Thu, 29 Apr 2021 08:48:36 -0400 X-Greylist: delayed 518 seconds by postgrey-1.27 at vger.kernel.org; Thu, 29 Apr 2021 08:48:35 EDT Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m176218.qiye.163.com (Hmail) with ESMTPA id 1208F320114; Thu, 29 Apr 2021 20:39:09 +0800 (CST) From: Wan Jiabing To: Harry Wentland , Leo Li , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Aric Cyr , Rodrigo Siqueira , Qingqing Zhuo , Aurabindo Pillai , Bhawanpreet Lakha , Jacky Liao , Meenakshikumar Somasundaram , Nicholas Kazlauskas , Wenjing Liu , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] [v2] drm/amd/display: Remove duplicate declaration of dc_state Date: Thu, 29 Apr 2021 20:38:36 +0800 Message-Id: <20210429123900.25156-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 oVCBIfWUFZGUhKHlZMS0kaGRhJHhkaTR1VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MVE6CDo5Hz8IPEgvOD0KFT1C SDkKChRVSlVKTUpCTUJCQk9CQkJDVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFJQ0hKNwY+ X-HM-Tid: 0a791da3e029d978kuws1208f320114 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are two declarations of struct dc_state here. Remove the later duplicate more secure. Signed-off-by: Wan Jiabing --- Changelog: v2: - Remove the later duplicate instead of the former. --- drivers/gpu/drm/amd/display/dc/dc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 8108b82bac60..6f3c95b5d1a2 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -594,7 +594,6 @@ struct dc_bounding_box_overrides { int min_dcfclk_mhz; }; -struct dc_state; struct resource_pool; struct dce_hwseq; struct gpu_info_soc_bounding_box_v1_0; -- 2.25.1