Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp77244pxf; Tue, 30 Mar 2021 20:04:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrwFyQ3sTlgMBZtjCuqxn0ohsT8GGIJ9JwcVyBfe0uKGEUsMvMpwlZaDF0pyCVUr1uAva1 X-Received: by 2002:a17:906:80ca:: with SMTP id a10mr1227056ejx.297.1617159848858; Tue, 30 Mar 2021 20:04:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617159848; cv=none; d=google.com; s=arc-20160816; b=Ivl5dyNBgXVwNkZ7UsxmIntCWiDYiWhv3hrISaYx4REwrGUtEGfxZ+wYOC/7HeUkvO n3PHjpiGSpIK9XXxtKJb1Kr+/A4rndJHo6FyriVOHlRLunK6/xvU1JP04jf0CdafpaSq +lshrqbXsFpIawpv73kdRW792yb270Ozvsdyq3Tz0ae8iJtuNIMxc+Ek1AjXeNzAlefp zmI6DJk0N3l8WtGYMeU9KMaMGDpLCXngTWTrzA15h4SFqXku9MWkAeO9CNNSG3EO1T8s BeJfUoC/YXBpNUQp0gF1jlB+wvG/+632XxT2diwPiyOhS5BbA3tgpbgQMXISpZ179YdO 55uw== 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=QkYGm2uH5cqjYgnGBIZc/XuCuBFvf+8yjzKbEL3jIuk=; b=I2akRf3VhqvWDBusSavS/C1xynzXnWXM/v4mC8uIbH1uLI6rqXNFXKjjxEAsVv8rYl F6q+L66XOkkNwiUHlt3yHrUNXpAoen1391AgItyaOHrZi/otQL1jAoSXr2YP8DuRC4Ef 0moVj58iqJ6C2CXLhOffflEX2/Wr8NB6mc03oygM9OHMLL1wG4LeujHQtJUPHNslvnTM fOYAF3OWa0CENbm7bjBbAqmJJ1xMu8uMc0J2O8/31R0GxGyNEOIcHO06zb0rdG3weZk7 1tisNv3Hp62xB7MC1h0rJzD70Ncos6zXcEE/pLhENzCWp6pvt7e66KUlY2c2ufX4L8Zv yNUg== 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 g8si650508ejm.206.2021.03.30.20.03.46; Tue, 30 Mar 2021 20:04:08 -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 S233410AbhCaDCa (ORCPT + 99 others); Tue, 30 Mar 2021 23:02:30 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:40978 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233117AbhCaDBz (ORCPT ); Tue, 30 Mar 2021 23:01:55 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 79FC0980115; Wed, 31 Mar 2021 11:01:52 +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 , Aurabindo Pillai , Qingqing Zhuo , Bhawanpreet Lakha , Krunoslav Kovac , Jacky Liao , 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] amd: display: dc: struct dc_state is declared twice Date: Wed, 31 Mar 2021 11:01:16 +0800 Message-Id: <20210331030120.2805645-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 oVCBIfWUFZSU1PTx9OS0lDTxpMVkpNSkxKTkJMSkhLQ09VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MzI6MRw4TD8cDjYfIU88SQ0Z LClPChpVSlVKTUpMSk5CTEpIT0NPVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFJTEtJNwY+ X-HM-Tid: 0a78863af0f4d992kuws79fc0980115 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct dc_state is declared twice. One has been declared at 273rd line. Remove the duplicate. Signed-off-by: Wan Jiabing --- 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 18ed0d3f247e..8ccf4bcd76b3 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -581,7 +581,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