Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp340585pxf; Thu, 1 Apr 2021 02:32:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcrF/0uf1dm0YdpoRTkSo0gPuHVuJCJw6rPsoY3GHaercAL8k9VZyzZvSmM1AInHpGvC7a X-Received: by 2002:a17:906:f12:: with SMTP id z18mr8221828eji.132.1617269561167; Thu, 01 Apr 2021 02:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617269561; cv=none; d=google.com; s=arc-20160816; b=O22Dr9KPD3d814LvXOCJDyGkEOiCw7jrX6xE0XiSOGfDzlUEPG6XvuPGvZXMGmiJ8I RPCWxfaJfQOJdGUjGjDtctuYbU4NC5qYY6EaT9650EXeTA6t3ypAm5ekSmBY5qS9C2si Shrfz0ssaXz2YKLM+7aluudKGUWVH4RX2L7nMtjQavAS8H7yXU+enmOzSNQI2pMzEplT 8GUBs+XHxLJ2FSsl+RiRksNcls9hw9LcTQ2wETraKiXJVK8KynT/mL8ngfURpVUg1wVa D9/Dpa8MxrexpiduMt/dCszXwUkpTZ9BnYllcyF2ZC3Sx5lkibMBlBDo2iAfUdshiqVU PLaA== 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=p78WKcwC63+d2UDJqnyQwT5mJZ+KlUg1BoU4VCw5dAk=; b=ZOB2ync/RLdK+sr5RZT/83alrX9jBS75XvF8dVRW2HM7aM8QSas3HShypKRi6Xo4ju fGTHata0ezweZvWMxf+HkUuRtpjhh0iAUFhejVTLM3PFYnp6C7A92gtQjvAwXktxo0Ii DzqgTgelzsv8JZqtnqkZ3ayvyk4plXV51sVEXc4S6TWa2xi6d7FMAAxDngdPh7p13s9o ehRwMDAyeO5K9TA68YT3Q0MK2hwy3K8Z4DAJQV3/swxpNH/Rs2oXB457f+D4ooBrt6+z ehMwKMFK4KT0aXVozcMDn0kgMbkF0ybBxDNBhygQHEQWVHkgpEEc4sJDKodabwPxQdmr q0dQ== 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 z13si4093366edc.6.2021.04.01.02.32.17; Thu, 01 Apr 2021 02:32:41 -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 S233718AbhDAJ35 (ORCPT + 99 others); Thu, 1 Apr 2021 05:29:57 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:29466 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233665AbhDAJ3l (ORCPT ); Thu, 1 Apr 2021 05:29:41 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id CB72D9801FC; Thu, 1 Apr 2021 17:29:38 +0800 (CST) From: Wan Jiabing To: linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] amd: display: modules: Remove repeated struct declaration Date: Thu, 1 Apr 2021 17:29:25 +0800 Message-Id: <20210401092925.1004512-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 oVCBIfWUFZSh5NTk9CHxhJHkxKVkpNSkxJTUJITEJLS0hVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Nzo6Syo6FD8JFispLjdWIjQC CQtPFEtVSlVKTUpMSU1CSExCSU5OVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKT05NNwY+ X-HM-Tid: 0a788cc44f5fd992kuwscb72d9801fc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct mod_hdcp is declared twice. One is declared at 33rd line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h b/drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h index d223ed3be5d3..03fe49c5b7d0 100644 --- a/drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h +++ b/drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h @@ -255,8 +255,6 @@ struct mod_hdcp_config { uint8_t index; }; -struct mod_hdcp; - /* dm allocates memory of mod_hdcp per dc_link on dm init based on memory size*/ size_t mod_hdcp_get_memory_size(void); -- 2.25.1