From patchwork Tue Dec 13 05:50:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 13071730 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 314AEC4332F for ; Tue, 13 Dec 2022 05:50:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F23910E1AD; Tue, 13 Dec 2022 05:50:37 +0000 (UTC) Received: from out199-6.us.a.mail.aliyun.com (out199-6.us.a.mail.aliyun.com [47.90.199.6]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5743010E1AD; Tue, 13 Dec 2022 05:50:30 +0000 (UTC) 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 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tvrtko.ursulin@linux.intel.com, Jiapeng Chong , intel-gfx@lists.freedesktop.org, Abaci Robot , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, rodrigo.vivi@intel.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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;