Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5939569rwd; Wed, 24 May 2023 08:42:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4kJeMu7b5mlPamCWfazHLduE9AzSs5mmstuDhp2OkNwPtqvzbay/Jnn84ge7xqXzRX3DIm X-Received: by 2002:a17:902:e5ce:b0:1a2:a904:c42e with SMTP id u14-20020a170902e5ce00b001a2a904c42emr20890756plf.24.1684942939379; Wed, 24 May 2023 08:42:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684942939; cv=pass; d=google.com; s=arc-20160816; b=oRL1qj5RoD3f9A/mh0qH3qMK441oXStQ8GevBZaquWl+dDc7twaugaGhv7DwKRKTTb XH2mXJpdLb0YWltCoMZBXRKJ9aa3kuGR+xeDgdVAKgfVEsHkgs0l0HooCenZiBr6RBFw 6dzgcISf0RoGxqAsUCfv2RFQx/2x1Wfbow8IpiqoxpbWeSwlHAwKf1tgGcZgwKMtuu44 qOLG89asNm4kJYFSwCyI0v2FsD2QNgBcxcdOvic7/n/FPG3a3L32IJcmVWGV5U2Pd4PM eOaaGt/JE/z1lt4j118bJDF/zcGW0djsimDWY77jY58Xiua/p6L9O0AAvJBRy3EVUmIL aFbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=Y6hfyoKesjMvZdDskLJrk+Polnugi9Urd4XRsrP2XpY=; b=NZmRtqHpVSHWyUMDc3N/yazkxYykEeGHJIsZTBPYC154sw9OH8O6nNG4sBcJ9xycSL ouKDH5poEKwE1vct4jxEI5DAl61Bl0lkB2i3aG+upeeCCXC9bDcfLqFo4RTno0Kq0ZT3 M1oTF63Cid9uJug4Q7pgm6hbAn2HRE1MjCKIdfTO0rE267EbF/K5pAogQ//z6EzBoCbw ZCReO9yDmm29YWjUHGJ421rnBR+ow6jXMLzQqQoQUaKm/5XiNJ8oiQM7QdxY4XbqliyA vD+q64EiTnYPXP0uLoKo6T/F+AZ0F9ZJic1+iwwQ0ZsCGFmHg/Ha74HYkm130sLEQ1LM lp8g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="yN4/HrCJ"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e9-20020a17090301c900b001ab1411f3e6si1368806plh.260.2023.05.24.08.42.05; Wed, 24 May 2023 08:42:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="yN4/HrCJ"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235755AbjEXPeg (ORCPT + 99 others); Wed, 24 May 2023 11:34:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235986AbjEXPea (ORCPT ); Wed, 24 May 2023 11:34:30 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2082.outbound.protection.outlook.com [40.107.93.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 159D91BC for ; Wed, 24 May 2023 08:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FKgJYwYthLQNkQsOe0vU9sYWmxGfaPmT7UH2cwH0m27W2b1v6X7ismG9Upvgtg2gzn4IlUK2Ur9JjYmoWcQ0YAc1RKV6WxvnTrVykzjyE+98dVCLX/WdldNdYjL/s/LgOcGxytNQ7V25lzAyVUu7h9b/vCx/ZoXdnpA1t321qCd+Fs8+DhAWR0jTeLhnPtBJtyjjJlVkEyvkDZmCm33PtYY1u30TxTfA7zwG7vo7HxD3J2jMgXwrF8nYbyqlHLRz8uleKLU7zZtnr8VOm0KQkhVQCxLor3vaGrXC0MkB+cFBXpLxUGM21VzoJphVEH5Tc+cqJRuqFdpHK5gCCO7lcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y6hfyoKesjMvZdDskLJrk+Polnugi9Urd4XRsrP2XpY=; b=D7v+U4Yg/dD+9Ipk3xQxMy7Lh0kfNHGPmp+KkN3dsO9gyiRRAbDjxhTzI07wqKiKD+eohT7wAUCFu2jNoYPl8H3iQMv5RG4Dz3vcGjtHf7pDTJJGC0MuRjaJFybCghL9mjfSOpBcHieeQlmJlbJcGDFmI+zX2TAuZfubjAVpfziAPXxzSB5aJBSRHF7k+Dz5U8OOgGvpNrp0Er/5oFHNDJm5hJJNbtnJbpw0cd9PBcGaa803+kVF+vHZrhQe2xNNuJNIQcjgJ+PneGKB9q+4+SNPpmI/xXgBQeajdHZSozwtCcpb6uXscIDcvPErt4EYOUrbMPNR/nKyBY52rRivjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y6hfyoKesjMvZdDskLJrk+Polnugi9Urd4XRsrP2XpY=; b=yN4/HrCJ2+xJ3zfDA2GObk6yjaAv+e/anoWHDffMVOGSA5oTOqHpGAm3ezA2PTwE/QPLWT4Wyf1X/DR6kSEehomn/3FeP87IHKIWZfVAmlEOqeQcHmuXRFTgB6xXvOyCOdm08JCdfQTGslBdKzyePCu6AvuvYBYW79pj/A9lJT0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM4PR12MB6280.namprd12.prod.outlook.com (2603:10b6:8:a2::11) by PH8PR12MB6795.namprd12.prod.outlook.com (2603:10b6:510:1c6::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.28; Wed, 24 May 2023 15:33:43 +0000 Received: from DM4PR12MB6280.namprd12.prod.outlook.com ([fe80::fe53:2742:10f9:b8f1]) by DM4PR12MB6280.namprd12.prod.outlook.com ([fe80::fe53:2742:10f9:b8f1%7]) with mapi id 15.20.6411.028; Wed, 24 May 2023 15:33:43 +0000 Message-ID: <5d48a7cb-29eb-9177-f95a-ad686d15fbd8@amd.com> Date: Wed, 24 May 2023 11:33:39 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH -next 01/13] drm/amd/display: remove unused definition To: Yang Li , alexander.deucher@amd.com Cc: sunpeng.li@amd.com, harry.wentland@amd.com, Xinhui.Pan@amd.com, Rodrigo.Siqueira@amd.com, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Abaci Robot , dri-devel@lists.freedesktop.org, daniel@ffwll.ch, airlied@gmail.com References: <20230524035952.123590-1-yang.lee@linux.alibaba.com> Content-Language: en-US From: Hamza Mahfooz In-Reply-To: <20230524035952.123590-1-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: YQBPR0101CA0173.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:f::16) To DM4PR12MB6280.namprd12.prod.outlook.com (2603:10b6:8:a2::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR12MB6280:EE_|PH8PR12MB6795:EE_ X-MS-Office365-Filtering-Correlation-Id: 65a9725f-afd8-43da-f523-08db5c6c417f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sLXsD9anm7D1WHJhrV+DC+bAAGlx9gCaZvP7IA0C3OUBz6dlLfYucWLz0O8UYo9YhvjOYDWCvrOt8E1MLRik8pkxIb/ukBWAu6Osmm0kWRx//HTVuVCPn8uCY4eNTL4nVe9G/KlVCJYtzQTCWApCJAT8j/F6dEJ81FgrDjp1wqNZQNWbPuqIpl60BdbeMt1n/4iQpmXoS5hxXEas/ZuQV3Ldzxb6cb+MOByuhr0odB3HSYz7ROhdXaJ44bhCoGo8HrAKq+rBxnGmwRMmiH7m+zooKSOm0ZaCsyrmVOg1iRUX2nIsNWWVCrhOzbpPxEXpl98ekv58WfKyqiPbl56tN0WFuhBd1I3NKIUr68//53NiEF9cFLM4vPhSXz7RiI7c0KhBVFia3HX34yQ6k/GP+TgwzbShtYG93plPUjnKVo9NLH1j+s3tJzdVqhONbypkrKsAqt7yqebDk1OVPLAHQ1HWEkNsuqYcRZTxzfRlsyBj4OYHzKkdtRD1I6qHzrkCck1WFn7dklywHRWQNj2B76vzn5Io7vMGRaBQLjDvtLsTn3Dx7TBm+YbyOsNRjUbvMiagmUoF6c10uU7g5O9OAkLEhvBt5ATFdToF9/2k52n8G2Ab5ZpGxTihN6aBLKQlfBpaHHht6TXGg2kfC2ccAQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB6280.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(376002)(366004)(346002)(39860400002)(136003)(451199021)(41300700001)(6486002)(478600001)(31696002)(31686004)(316002)(966005)(4326008)(6636002)(6666004)(66476007)(66946007)(66556008)(86362001)(5660300002)(8676002)(8936002)(38100700002)(2906002)(44832011)(26005)(6506007)(6512007)(186003)(53546011)(83380400001)(2616005)(36756003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RHFlbkdpUmVIRmhFUmZNRG1CMDd5cFZ3QkkrM3k3V1pZaURKK0dtbUJOWnpv?= =?utf-8?B?aGVQaGdUeHNUemowQjFZRGtNQ1k5V2FqSjZiaGVreWZDaFhldG5YMzU3ZDY2?= =?utf-8?B?czhZOTRrMEVpM1NxRUMvTHdsRS96Rkp0NGRBNGlCK01SMGlULytxdm9mMnhY?= =?utf-8?B?U1FDVnhLQ0w0bWI3NUp5eWNrNEo2WlJzR0dOTkxnclpITHdpMU00NGdESjB0?= =?utf-8?B?VXpqQWQ4T216V0JiY3NHRjFhdlo5Nk9aOGNkOUVpZkl3L0ZoRGhqay9FZXpE?= =?utf-8?B?bkYycG9KRXhiRURZdzlHcDI3aGJYQktUMll0VzQ0Ri9rM05yWEtQY0Ruc3pM?= =?utf-8?B?QXN6SVpsck5aNzVpOUJNV3NhMVEvUU1vdk9oSDR3YWVGaEMrbHJDb3JpRXBS?= =?utf-8?B?clFOK3MwM0Fkc01VeG5yRkUrRHphK0MxVDJkZmNYZ2NYdVlhL1AwTFNNWG9T?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FZ4U0FVb0Jj?= =?utf-8?B?ZG1NbklVT0lGczhxckpiL2pPbzVxVHBETldpWnhma3ZkMlhrZVBuVndQR1Fr?= =?utf-8?B?N3ZpRFNZYjZSdmN0L1hwYWh5c0lValhsUlNONGVqZ3JCaUwvMlBVRlBVekta?= =?utf-8?B?NWxaVyt6dmd0SW1nM3A5RFpOUVNwUE1iSFlsNTIxc3oraUJRNlFGVDhtazR0?= =?utf-8?B?blpkMzUySnBPRzlySFhIRWt4dmRyMEE1em9PWi9wbTNLRTVGdzMxa3Ezb2Zy?= =?utf-8?B?YjZ0WEsrazFKNG1XQkd3alNNS0VzRjhFd2d4MjdlSmdzNWJPaVMxZlJRVG9r?= =?utf-8?B?V0taK2Q0T0V4MGJLdnhxME5xSUNtbXRZWjhQck9jckFFd1pGTVIwaTJsbmdR?= =?utf-8?B?RDhCd3hrRmxpTzhpUWlVcGM0bU1Lc2Zidnp1TFc0RGxTU1lSTjROVUhhNUdE?= =?utf-8?B?b29MV2xQR3RseG9qcnpqbmhOL3dLYnJnU3BBcGZPUnVhWFNSSDVPK3ZoLzV6?= =?utf-8?B?ZTFrM0d2S3k5QjdCbVlrNUJaRmhLcmp2cm1iMDBTbURaQVlKd091R2ZsVjZ3?= =?utf-8?B?cFZEemhtNFpCbWUrMDNsb0tiUWxHaVFCTkRMaVppWDEyN3ZyN1EyQldteU5D?= =?utf-8?B?TUowRGxpM1ZWQkJSbE92S1VhQVgzcDhQR1NySGFEMFN1eDJNMm5XeXRsVTJu?= =?utf-8?B?K3d4c3U5WGhtbFlIVHB6a3FCUUI0Y092eGM0T1BPckhkMkZGSmFmMWdNMVFW?= =?utf-8?Q?B+KDtaqK4l+DVLPHV4QuUim70?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65a9725f-afd8-43da-f523-08db5c6c417f X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB6280.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2023 15:33:43.3930 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vr/K1pBO8HdBZ4PXUFXg3l2z/QptYUyrREYpjX1RyqA2RTVfC9uC1YVP1ZLUSmW2a0+oqTVG54OHGo9qHtIo8g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6795 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/23/23 23:59, Yang Li wrote: > Eliminate the following warning: > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_resource.c:889:43: warning: unused variable 'res_create_maximus_funcs' > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 > Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") > Signed-off-by: Yang Li I have applied the series, thanks! > --- > drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c > index a0625209c86d..26ddf73fd5b1 100644 > --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c > +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c > @@ -886,13 +886,6 @@ static const struct resource_create_funcs res_create_funcs = { > .create_hwseq = dcn10_hwseq_create, > }; > > -static const struct resource_create_funcs res_create_maximus_funcs = { > - .read_dce_straps = NULL, > - .create_audio = NULL, > - .create_stream_encoder = NULL, > - .create_hwseq = dcn10_hwseq_create, > -}; > - > static void dcn10_clock_source_destroy(struct clock_source **clk_src) > { > kfree(TO_DCE110_CLK_SRC(*clk_src)); -- Hamza