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 93807C6FA82 for ; Thu, 22 Sep 2022 08:40:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229947AbiIVIgS (ORCPT ); Thu, 22 Sep 2022 04:36:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229791AbiIVIgQ (ORCPT ); Thu, 22 Sep 2022 04:36:16 -0400 Received: from ssh248.corpemail.net (ssh248.corpemail.net [210.51.61.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CF0D12AC6 for ; Thu, 22 Sep 2022 01:36:14 -0700 (PDT) Received: from ([60.208.111.195]) by ssh248.corpemail.net ((D)) with ASMTP (SSL) id RJH00008; Thu, 22 Sep 2022 16:36:08 +0800 Received: from localhost.localdomain (10.200.104.97) by jtjnmail201607.home.langchao.com (10.100.2.7) with Microsoft SMTP Server id 15.1.2507.12; Thu, 22 Sep 2022 16:36:09 +0800 From: Bo Liu To: , , , , , CC: , , , Bo Liu Subject: [PATCH] drm/i915: Fix double word in comments Date: Thu, 22 Sep 2022 04:36:01 -0400 Message-ID: <20220922083601.3236-1-liubo03@inspur.com> X-Mailer: git-send-email 2.18.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.200.104.97] tUid: 2022922163608248abfaae967940ac91c8a7deabfe4fb X-Abuse-Reports-To: service@corp-email.com Abuse-Reports-To: service@corp-email.com X-Complaints-To: service@corp-email.com X-Report-Abuse-To: service@corp-email.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the repeated word "not" in comments. Signed-off-by: Bo Liu --- drivers/gpu/drm/i915/display/intel_bw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_bw.c b/drivers/gpu/drm/i915/display/intel_bw.c index 4ace026b29bd..a5cb253f6dc5 100644 --- a/drivers/gpu/drm/i915/display/intel_bw.c +++ b/drivers/gpu/drm/i915/display/intel_bw.c @@ -646,7 +646,7 @@ static unsigned int intel_bw_crtc_num_active_planes(const struct intel_crtc_stat { /* * We assume cursors are small enough - * to not not cause bandwidth problems. + * to not cause bandwidth problems. */ return hweight8(crtc_state->active_planes & ~BIT(PLANE_CURSOR)); } @@ -661,7 +661,7 @@ static unsigned int intel_bw_crtc_data_rate(const struct intel_crtc_state *crtc_ for_each_plane_id_on_crtc(crtc, plane_id) { /* * We assume cursors are small enough - * to not not cause bandwidth problems. + * to not cause bandwidth problems. */ if (plane_id == PLANE_CURSOR) continue; -- 2.27.0