Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1600780pxj; Fri, 4 Jun 2021 20:25:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcQweg4I5vxOiVqyak99jWmJSLmk5AISJyVMrTLBQpfMXjEOWc7c9Lbq+M4Wn9Pd36+VBa X-Received: by 2002:a05:6402:5201:: with SMTP id s1mr8489771edd.54.1622863552202; Fri, 04 Jun 2021 20:25:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622863552; cv=none; d=google.com; s=arc-20160816; b=ljodg8qxTqF9Stp8F66ktq3z1cspEGlE0c4FUMKDbxGmJm+N8YF4VEmYqG/fqhOLXs gXCmxTW0SPxmus+WBYd+EjPIE0JEMyC/abPVyPU0OfI/a0gNaM9k7JfPHi8b1FXcqDti 52dLWmuoY3rZVVXoIpTqAH22gh0e7IBDnmnbTSHaj8HuY7i1AoNoGZumpERApdwXtJ4R hbUJwwv3cwRmbZdIYS/PCMeSWaDffKyUqgiB7m7etBJPPA/gDVX63/+Xxym4PL8r0w9j rfKkHEQDmjReNPR4Pr+n7ntZue+g3YUnSunnOdjZ8PyjcUQvnvXWioafD3CpOJwF0Eu4 ganA== 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=IF6e6h7AjFN0Wd4rNAkLusTor7tAITLyw3RavZT9BTU=; b=KPe3RuJYca3P3eT4+faS3BvSPkeZ9SNw/b+m41zySQqmLwGuj+aE/KKZ/xiYlcIapT kxSchOUqWtdWMI7MK0Hm8q9/zcAlNBnVLhHzUImfafG93T7eHqmK5lcbmlkcuLKN1pkv ZwiwuumQeYWDNuNWKiIbUz3NPI+ii3srCRvGvfnutwvdaNVEuyCQfwjOvaXg5tmwLgNm y+fpiSChsAki1CrfgD8Xu57G+nXs3ygtmR8MOxx7/I4q4gGiMUv04/FAvzxrNpbG+ORR s9ztly73LYPK0AT2FP+sCbZpxP0dOMmNEGYazXh8wIXQQq+kALBpHF25jbiQpDsRBL4x 66UA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j13si2325501edr.332.2021.06.04.20.25.28; Fri, 04 Jun 2021 20:25:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230172AbhFEDYG (ORCPT + 99 others); Fri, 4 Jun 2021 23:24:06 -0400 Received: from mail-m121144.qiye.163.com ([115.236.121.144]:56436 "EHLO mail-m121144.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbhFEDYG (ORCPT ); Fri, 4 Jun 2021 23:24:06 -0400 Received: from Wanjb.localdomain (unknown [36.152.145.182]) by mail-m121144.qiye.163.com (Hmail) with ESMTPA id D2C4CAC00AC; Sat, 5 Jun 2021 11:22:16 +0800 (CST) From: Wan Jiabing To: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Lucas De Marchi , Matt Roper , =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= , Imre Deak , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Anusha Srivatsa , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Wan Jiabing Subject: [PATCH] drm/i915/display: remove duplicated argument Date: Sat, 5 Jun 2021 11:22:07 +0800 Message-Id: <20210605032209.16111-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZQ0NIHVZKSEMdSUNITk4ZQ09VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PRQ6TBw6Lj8JIwlOOEspHz0q KhMwCglVSlVKTUlJQ01ISEhMTkNMVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFJQ0xLNwY+ X-HM-Tid: 0a79da315725b039kuuud2c4cac00ac Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coccicheck warning: ./drivers/gpu/drm/i915/display/intel_display_power.c:3081:1-28: duplicated argument to & or | This commit fixes duplicate argument. It might be a typo. But what I can do is to remove it now. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/i915/display/intel_display_power.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c index 3e1f6ec61514..4298ae684d7d 100644 --- a/drivers/gpu/drm/i915/display/intel_display_power.c +++ b/drivers/gpu/drm/i915/display/intel_display_power.c @@ -3078,7 +3078,6 @@ intel_display_power_put_mask_in_set(struct drm_i915_private *i915, BIT_ULL(POWER_DOMAIN_PORT_DDI_C_LANES) | \ BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_D_XELPD) | \ BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_E_XELPD) | \ - BIT_ULL(POWER_DOMAIN_AUX_C) | \ BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC1) | \ BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC2) | \ BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC3) | \ -- 2.20.1