Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2582598rwj; Mon, 19 Dec 2022 06:29:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Lf6l4EHwtieoUB/M/JWtj3ZIX6grmiQ9E6psBeG6Wkg+YECFbEhEOifzuvuPB4kE/arf3 X-Received: by 2002:a05:6a00:a18:b0:575:b783:b6b3 with SMTP id p24-20020a056a000a1800b00575b783b6b3mr64418755pfh.28.1671460193010; Mon, 19 Dec 2022 06:29:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671460192; cv=none; d=google.com; s=arc-20160816; b=YNZe8mBmZOu782Axnu9bJ7UbzUuYNPMN6wbhcUJON3FMVujKR4x9bB+W5pT2DX9HB+ 4k4rwdHAWjR7hpCw5u2mFQB+TPA3txcS0Nvkp9tJ8lbA9YDqWib6txZMYqzkazwJ7fxm QycrEx7UB6dDjQDn3wswYNTh91Y8DErYlHTqu6mIUHiQVZ94cnkWLcVo43ybRFzRt7x5 F72I7i3t8ja1zhce8M+hgGHvnnBpM8FbqUBiXpMJssNvcm5wahHF65t0neXavSZtI+1O 7Dcf4HdnN8Rz5m+psV4caYFgpL5dokuXsJ0C7033iYcGOqmqCYNW/12cksh0GWdUh8Q1 n/xg== 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=4pAKk1AYRUJgm3/4HxpbcERaJPAluyc4RLDZmN/KAqs=; b=wCvzFSR4/BlKXnMngzLsqbvy4NQ9x9dUYGLdDltMl4KtVbjH3aqXTa4hHwBW6ONnSf wHzLRcG4T5JZ3fxzfIHM4Z8TdLF0bPNvmxLfF50WwSUNSHHtnSO2saWjkm6SeeuZd6c0 a4BaRFlsQBoUDoPmMV7dke4VOZV3sl+gfLOWx4KpvACl7od3uLVe/hDDEFWf6Suo16Vg L+SbA6geleC/UWPQz0cGF3ZDAmGYLz4J6Rm7Gr45R9cd7FxU+4dxRsLswrFFzNRSG7JI 3JbrnpmQztrbnOk5uRv2cDwxnwp/603rW3olDpEP2JSJeBzN51HocowWbDKR1akq0URx HFLg== ARC-Authentication-Results: i=1; mx.google.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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c8-20020aa78c08000000b0056242234478si9973829pfd.164.2022.12.19.06.29.42; Mon, 19 Dec 2022 06:29:52 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231896AbiLSOWK (ORCPT + 72 others); Mon, 19 Dec 2022 09:22:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231539AbiLSOWG (ORCPT ); Mon, 19 Dec 2022 09:22:06 -0500 Received: from out30-6.freemail.mail.aliyun.com (out30-6.freemail.mail.aliyun.com [115.124.30.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1337F2BC8 for ; Mon, 19 Dec 2022 06:22:04 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VXi.T.D_1671459712; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VXi.T.D_1671459712) by smtp.aliyun-inc.com; Mon, 19 Dec 2022 22:22:01 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] drm/amd/display: Remove the unused function dmub_outbox_irq_info_funcs Date: Mon, 19 Dec 2022 22:21:50 +0800 Message-Id: <20221219142150.56654-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham 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 The function dmub_outbox_irq_info_funcs is defined in the irq_service_dcn201.c file, but not called elsewhere, so remove this unused function. drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dcn201/irq_service_dcn201.c:139:43: warning: unused variable 'dmub_outbox_irq_info_funcs'. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3520 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- .../gpu/drm/amd/display/dc/irq/dcn201/irq_service_dcn201.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/irq/dcn201/irq_service_dcn201.c b/drivers/gpu/drm/amd/display/dc/irq/dcn201/irq_service_dcn201.c index 5f4f6dd79511..27dc8c9955f4 100644 --- a/drivers/gpu/drm/amd/display/dc/irq/dcn201/irq_service_dcn201.c +++ b/drivers/gpu/drm/amd/display/dc/irq/dcn201/irq_service_dcn201.c @@ -136,11 +136,6 @@ static const struct irq_source_info_funcs vupdate_no_lock_irq_info_funcs = { .ack = NULL }; -static const struct irq_source_info_funcs dmub_outbox_irq_info_funcs = { - .set = NULL, - .ack = NULL -}; - #undef BASE_INNER #define BASE_INNER(seg) DMU_BASE__INST0_SEG ## seg -- 2.20.1.7.g153144c