Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7876151rwb; Mon, 12 Dec 2022 22:06:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf40TSPYIS4Ije218/zp0c0wZrUDq8WIBCR1q4kDlJQgQeR443iusyjjRPod6oQ/FfL+9DU5 X-Received: by 2002:a05:6a21:328a:b0:9d:efbe:e5f6 with SMTP id yt10-20020a056a21328a00b0009defbee5f6mr29487624pzb.18.1670911616251; Mon, 12 Dec 2022 22:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670911616; cv=none; d=google.com; s=arc-20160816; b=XzScaDjRpA2DIzWvWkar9JkhrZ+K1/uKXMDlTjT+hHnaUmHaRqbdnl1Xodv3dqsWGj TiWX3hxbwYpJd1ZF0kwc892pNEbbGdR75WeMc+wInskIX1SLieEbBqwbF1dCkwqstT0p SaQKF4JhS1LLhIrCtubYjzqYa9Gr7infQ/ez0U9zDN2AqYDuXzG4wTF3eEXkSQ9MUmU1 stFYLr16iYZqyoMVivFUMfQnWwiKPYfepa9XP5jmZT+WmQKFuEdM3370b2KH/IJcz089 OSSvTBBWM5B0djQf1WpRorFC2sCwIC+BulwU67ajugp8uFiD+KbG1MzX2ATwD0BFZdLK 56iA== 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=aOW6Ye6HmVsW7HhXW+UmQ4ft/Qjlkbh43R5saxTu15A=; b=vEfsXIS+vETbr47po4xN/n77D5N8LYdlefWf9JBROu44lHtZVWir0TwNRMR9yAa5na Hih60dJoKz8tKvMFGC2p/EE6XF32OevGEGazJc6l6fIrXSwFD5UsQtvYjte1avl9FvKQ fJBFzDun88z6NgUXXhpa6NMDR9vE7t3JzyDr4739gt0f8K3IQ8ZQMqaeMz9MYRhYzrUk 5wwTD1Gkkqf2JisqaJYd20ibxNzdra/LTFfb3hjczr3ViOWuJ2cqBLyHIch/xvw/Ldcy XpjkXToq3/NfHlrKrUmUDVXFo+ULzgzu/Lt4p3H4NyDMGVvU2zwT1r7tQdqewv+CCFdz 2FkQ== 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 q2-20020a63e202000000b00477bf7b0c43si11242387pgh.458.2022.12.12.22.06.45; Mon, 12 Dec 2022 22:06:56 -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 S234010AbiLMFua (ORCPT + 76 others); Tue, 13 Dec 2022 00:50:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233843AbiLMFu1 (ORCPT ); Tue, 13 Dec 2022 00:50:27 -0500 Received: from out30-44.freemail.mail.aliyun.com (out30-44.freemail.mail.aliyun.com [115.124.30.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D979613FBF for ; Mon, 12 Dec 2022 21:50:25 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R271e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=jiapeng.chong@linux.alibaba.com;NM=0;PH=DS;RN=11;SR=0;TI=SMTPD_---0VXCbU9B_1670910617; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VXCbU9B_1670910617) by smtp.aliyun-inc.com; Tue, 13 Dec 2022 13:50:23 +0800 From: Jiapeng Chong To: jani.nikula@linux.intel.com Cc: joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, tvrtko.ursulin@linux.intel.com, airlied@gmail.com, daniel@ffwll.ch, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH v2] drm/i915/hwconfig: Remove comment block Date: Tue, 13 Dec 2022 13:50:15 +0800 Message-Id: <20221213055015.27968-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_DNSWL_NONE,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 No functional modification involved. drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:112: warning: expecting prototype for intel_guc_hwconfig_init(). Prototype was for guc_hwconfig_init() instead. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3414 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- Changes in v2: -Remove the comment block. drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c index 4781fccc2687..5559d39881ee 100644 --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c @@ -102,12 +102,6 @@ static bool has_table(struct drm_i915_private *i915) return false; } -/** - * intel_guc_hwconfig_init - Initialize the HWConfig - * - * Retrieve the HWConfig table from the GuC and save it locally. - * It can then be queried on demand by other users later on. - */ static int guc_hwconfig_init(struct intel_gt *gt) { struct intel_hwconfig *hwconfig = >->info.hwconfig; -- 2.20.1.7.g153144c