From nobody Thu Sep 18 01:17:57 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44B68C4332F for ; Tue, 13 Dec 2022 05:50:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231334AbiLMFub (ORCPT ); Tue, 13 Dec 2022 00:50:31 -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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" No functional modification involved. drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:112: warning: expecting pro= totype for intel_guc_hwconfig_init(). Prototype was for guc_hwconfig_init()= instead. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3D3414 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; } =20 -/** - * 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 =3D >->info.hwconfig; --=20 2.20.1.7.g153144c