Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1307291ybt; Thu, 25 Jun 2020 02:57:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1b//7XlSIgCm1vuyKiJszKYgvA7v2P3FT3ltKHHuV/TJTFRqsTzG9+Lj4eAr8PzRo4nmZ X-Received: by 2002:a05:6402:8d1:: with SMTP id d17mr29813744edz.38.1593079055404; Thu, 25 Jun 2020 02:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593079055; cv=none; d=google.com; s=arc-20160816; b=0Ykhq2dy7fSVAIdhbxce84y6RILQ2HYCjGMHwDcY8XYafS8H9jN7oKrl2XLt7alOlk Zkw+UpG36sDPfQvRyyQG4FagEQrtfZHWwrsa2KqL3UMt4m7DQRPnB70JELr4TNj/A+D3 VUIi7dJxByBa1LVprSijdhrdwosOcITiXAZxy7YeCINuWy8AGDB22FC36EAHytdMO1O3 Ney1owcbMjF2eAGUOmF8g1vv8qPDo8ZutJ1OBp8LTjmROPouKawQCod2KtLlsMZ/v1cs Ht+sqRUtDzdLPSARLxxhu+hDbMGdXlIrJ62E/05TJjb+VGef606eR3WlP4i84HHB5QnB soaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EaOaR3l9HHxJyu97gRJLmzWQVTWMAcMmNEcB1lcmPNM=; b=eco0ZqqcO5TkP74eTSdwngh4xEXR7fwYsYB0CRgqE6vEqYuN8pUIsAWXHAGxjdCZ4n +4+xzDzT+MQ/BWILIPw34zHsboKTwBsrKE8Kv/2gPOClO5W9bf1MIYcNLqATrsd8bhN8 Y6w9KHTqljACUFQZnWTHlqZvepClnnbzAQqn1HCaBdKsi7hFT0VjW7BNbkzdiN+Fxn8R 6O/e/6NMIvl0d6CGbCK11LlzYrd5++f11CTnex3Yym/XPCR0IIcykKuOenYkyl10Hq/G dPxs7sVIYpRSVSMuWtT2Aa5QgLdSvZj9B2aO3uZtjDG+bM2FFVfpxL0feczzTyhDYoW8 X06w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l0NeXiak; 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 oi20si13987844ejb.571.2020.06.25.02.57.11; Thu, 25 Jun 2020 02:57:35 -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=l0NeXiak; 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 S2390848AbgFYJYk (ORCPT + 99 others); Thu, 25 Jun 2020 05:24:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390849AbgFYJYj (ORCPT ); Thu, 25 Jun 2020 05:24:39 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB6B5C061795 for ; Thu, 25 Jun 2020 02:24:38 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id o8so4836499wmh.4 for ; Thu, 25 Jun 2020 02:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=EaOaR3l9HHxJyu97gRJLmzWQVTWMAcMmNEcB1lcmPNM=; b=l0NeXiakjdrXrLaBLIadefKz8F7+uyKt5t8RNkWbO405PGH/BZlG7ucw7IkjzZ9wK5 pOFvA45fVJyNpEcvwKTJ4EG0KhFxxfY3pjjhc9JzCoT3kHSe1jOgmHODowQxUGG2FiKI yZKssraojrjtQZI6OtOlcrvQCZo1hNcJlSJyToTanRleQMoy+FooP2BSXH93BwrhKzi0 +zryj2eO1f08xEkWifRc0qeLiBx2LzTlRzbY8yPbRKajweEMeycjGzvCiACtHFxLbRLK EgS2b5n252zk49kR0c4T7PyzpHEdZ1+hFE2Hkk25xROet1O/dW+JLLQjtJsCj4GzbSde JvMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=EaOaR3l9HHxJyu97gRJLmzWQVTWMAcMmNEcB1lcmPNM=; b=SgavM76QD6/FLlTwSRaojNarKxw+9e6IpPjjwxpmgK+05PSnoREwxLehgjSgHBJ5X6 nNDdTKaLySPSW6d5AsenlIhGAeD1WSuoMoS+EYQab03VBYkydWPvgftOox9NcjuzkYWs x6sb3tYD1OBxDCBoGN4gLvSEu2DOSas/cYgUM3yUcbX2XlA1m6QKHAEKuoG1r+gVoddr w7OUUD446S0ApMczI2gPfcIjRHwXPnYIcL/Vh1hRdNdxiGaVGO9js79NKjQzYqcrS+kj xO3rHkKIewKjIwzwNjLdKHtrK8FF1GmyU84Tr+7cm5EXXDvSTq18c9K0GovuGOmgZIOc V2dA== X-Gm-Message-State: AOAM531DuLOsnz0RnW+GmARRLplgXMLcBwH6fe+pIKyatUV/d+AozeGF Br6FwRPypc5xvWEnUqE27keRsA== X-Received: by 2002:a1c:f00a:: with SMTP id a10mr2381038wmb.61.1593077077320; Thu, 25 Jun 2020 02:24:37 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id 138sm12311705wma.23.2020.06.25.02.24.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 02:24:36 -0700 (PDT) Date: Thu, 25 Jun 2020 10:24:34 +0100 From: Daniel Thompson To: Lee Jones Cc: jingoohan1@gmail.com, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Bartlomiej Zolnierkiewicz Subject: Re: [PATCH 1/8] backlight: lms501kf03: Remove unused const variables Message-ID: <20200625092434.szrdyt3sxmxmfajg@holly.lan> References: <20200624145721.2590327-1-lee.jones@linaro.org> <20200624145721.2590327-2-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200624145721.2590327-2-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 24, 2020 at 03:57:14PM +0100, Lee Jones wrote: > W=1 kernel build reports: > > drivers/video/backlight/lms501kf03.c:96:28: warning: ‘seq_sleep_in’ defined but not used [-Wunused-const-variable=] > 96 | static const unsigned char seq_sleep_in[] = { > | ^~~~~~~~~~~~ > drivers/video/backlight/lms501kf03.c:92:28: warning: ‘seq_up_dn’ defined but not used [-Wunused-const-variable=] > 92 | static const unsigned char seq_up_dn[] = { > | ^~~~~~~~~ > > Either 'seq_sleep_in' nor 'seq_up_dn' have been used since the > driver first landed in 2013. > > Cc: > Cc: Bartlomiej Zolnierkiewicz > Signed-off-by: Lee Jones Reviewed-by: Daniel Thompson > --- > drivers/video/backlight/lms501kf03.c | 8 -------- > 1 file changed, 8 deletions(-) > > diff --git a/drivers/video/backlight/lms501kf03.c b/drivers/video/backlight/lms501kf03.c > index 8ae32e3573c1a..c1bd02bb8b2ee 100644 > --- a/drivers/video/backlight/lms501kf03.c > +++ b/drivers/video/backlight/lms501kf03.c > @@ -89,14 +89,6 @@ static const unsigned char seq_rgb_gamma[] = { > 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > }; > > -static const unsigned char seq_up_dn[] = { > - 0x36, 0x10, > -}; > - > -static const unsigned char seq_sleep_in[] = { > - 0x10, > -}; > - > static const unsigned char seq_sleep_out[] = { > 0x11, > }; > -- > 2.25.1 >