Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp517074ybh; Tue, 21 Jul 2020 00:42:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2UwUAAt8n1bNAZaMhRCmLUnnQ1plgoOs/+AP1yAyDOUtzXjFiG+W02rAgXf87+Zi/puBt X-Received: by 2002:a17:906:410a:: with SMTP id j10mr24622218ejk.201.1595317343679; Tue, 21 Jul 2020 00:42:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595317343; cv=none; d=google.com; s=arc-20160816; b=PBFfbg3HmQvloOMbjb3k1nrDMVAQ5KQ3D6+59YCKmFbRl6bzZ13GGcfrC/KEi+3ZC/ b80R+DdnNTzFUGRx75ChOPj6PpqSBmyqlG3k8wt48SOZilX38uSm8+d2/0/TIfJtEOTJ nyacrGlYILi8pAq9KSUwN0lICl9W7JsFRJjVuJ76loN1mEyvSglLL7V1enKxEXheTCPO dkdwtTXQuVhAwHpTWO0dxXvarNlFfArWorJAsYaKrn3I52DFkXP/IDI3PIIPqF37f7En 1A5NFTBfzQoCzNpWGHW6QhCQu4/Hrx6C80CSSl3Fcj0VuJs5Cn+1Ut59Th8JCpEyLJoL hRXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cJUflLSxHtf/sa8csoJgmFcN71WVeF/7yJM+R1zANs4=; b=VexRR8PlVPdtn5wyorlVQNqETTzBs/iEzWqK/xwsT1pZNndcI7+guXarr1sI/SxgVY afcqFvaNNu1wgAv215KMVKntABfBlNtN2/p11xCGTqi9D6QMM5bMaPGBBX0pz6ymi3kP 0V3yF2kD17M7XMSbgO7WdjDtK3G9ZlFaxxzFMq1GvS4nq0SeI8NoWkSEC4TIvMtej94t KugtWBdm+QZURSXUyAiV9P+QU6H3uPbygfyj0Z4TxE5CLUwLUy71Kig3eOZWXxfMwpOj CMDieGP/buesjjt3kefC6ch0GjpGh6ifanVQr8yNWaBK5IAaur0/qS2gBTmYStoddqmY s7bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aNZscceQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v6si12508139ejr.238.2020.07.21.00.42.00; Tue, 21 Jul 2020 00:42:23 -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; dkim=pass header.i=@linaro.org header.s=google header.b=aNZscceQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727067AbgGUHj2 (ORCPT + 99 others); Tue, 21 Jul 2020 03:39:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726039AbgGUHj1 (ORCPT ); Tue, 21 Jul 2020 03:39:27 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8377FC061794 for ; Tue, 21 Jul 2020 00:39:27 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id q15so1788599wmj.2 for ; Tue, 21 Jul 2020 00:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cJUflLSxHtf/sa8csoJgmFcN71WVeF/7yJM+R1zANs4=; b=aNZscceQn1Dl45cuBWyWTUy4PJD9d6KTGqmPfZ+4chPoR4Dl6+IMEpbgutX90tTDCc mYqm3dJZd9xCJyxoJoxg5iduHcWbg1nRZeRTkz9BQ1UE9HaSElwDMcKE0VImX+gSk+VS vSBnvljYJV7ZTwM6AZK4VCDxCZsECTxSXV19qEfiW4lrKi5/l0z2egPui2rS7FKf11Vp qx1SZBu4DpSYMnU+8tjOFzSp3GUzE7hjMnY1iZ3FUzp35hGe+UJqmvnx9pR2kauU2KoT U9zlJHrAt4LtfWmnsPtkuFq7jea/Q4E6zhR1ZS0owhTslgy0AZM2+CUsjA7beEUURO4i l1JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cJUflLSxHtf/sa8csoJgmFcN71WVeF/7yJM+R1zANs4=; b=AulcHpemXKInr72lqqfT0KjFHhzBb2ABuf/vN+5B5YThVamRrd5jBW7JyIItUjZBsT 6Qdqx56ub9wgBThiCPpUH4wRsrRvECX/npP9Dc7KinBkrpWzp3KkpOFeE87Ffgh78Q6n K1EKwZ9s4tJtVGHkC7Z21UePriSaAY1+RAEwse7ajE6pmAVtRWHxXQBkG+dhs/4Q+twn 8+XM/xByYKXXSOS4zkQtju5inHoSntEzRTcCQ3e3+No4qDwhD1a31Dep3EZYDEfLeta9 sBgjRaquCz6ba7qwwuJD4nexZznhMIa1CxihFNHMXUHGJAY4nIdaHQmNvzRmMF++SsRZ RHlw== X-Gm-Message-State: AOAM530EZ1KrZQIOS9Qfi43xmKc9PzWjlbg52EGsrLiifa/5fhOHwbw2 2zGNbQu87mbW9+utCjpcixsPiA== X-Received: by 2002:a1c:dd86:: with SMTP id u128mr2752246wmg.123.1595317166220; Tue, 21 Jul 2020 00:39:26 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id a123sm2484009wmd.28.2020.07.21.00.39.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 00:39:25 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sam Ravnborg , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Subject: [PATCH 1/1] video: backlight: cr_bllcd: Remove unused variable 'intensity' Date: Tue, 21 Jul 2020 08:39:19 +0100 Message-Id: <20200721073919.925935-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following kernel build warning: drivers/video/backlight/cr_bllcd.c: In function ‘cr_backlight_set_intensity’: drivers/video/backlight/cr_bllcd.c:62:6: warning: unused variable ‘intensity’ [-Wunused-variable] 62 | int intensity = bd->props.brightness; | ^~~~~~~~~ Cc: Sam Ravnborg Cc: Daniel Thompson Cc: Jingoo Han Cc: Bartlomiej Zolnierkiewicz Cc: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org Fixes: 24d34617c24f ("backlight: cr_bllcd: Introduce gpio-backlight semantics") Signed-off-by: Lee Jones --- drivers/video/backlight/cr_bllcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/backlight/cr_bllcd.c b/drivers/video/backlight/cr_bllcd.c index a24d42e1ea3cd..4ad0a72531fe2 100644 --- a/drivers/video/backlight/cr_bllcd.c +++ b/drivers/video/backlight/cr_bllcd.c @@ -59,7 +59,6 @@ struct cr_panel { static int cr_backlight_set_intensity(struct backlight_device *bd) { - int intensity = bd->props.brightness; u32 addr = gpio_bar + CRVML_PANEL_PORT; u32 cur = inl(addr); -- 2.25.1