Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp654350ybt; Wed, 24 Jun 2020 08:05:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymQpXFfO5ynSusYAC700oPt7pDVP2K8T9eEc/izYQs3K0XVzk/3o/FYTWzKTsxo9cT2vds X-Received: by 2002:a17:906:360b:: with SMTP id q11mr26089975ejb.290.1593011152041; Wed, 24 Jun 2020 08:05:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593011152; cv=none; d=google.com; s=arc-20160816; b=iwmRvlv5KKpIDhPucAn9IPdXGScFTSBZ047cP/t75lamuzKOhLIHp6dfgDMlosB2yw Qs2R79oNUFwkzfAWpaiFBxxGTXhqq2urhtp7BK5ZpZDtUaq61Qo2VhVuvWZY8TA3/9Gm EVRkd/COUkmysIZ65+5/ijW3P2y0NLeo6AaLtXQ1QtZt139MHl7DfWfjch/42kcDN/em HWE2qmq5aOIclZzCEt62W+sQ29Tei92Hrm3H5419M/eM8NsjwhsaUGyD/1mzF+r7L2iO hT4lfRAiDVAUCpfNenqi6PjsZFezYhEH4rBHaQndtwullD9SeaeL8pii2oS/pg8XKW8h Kg0g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2m2sUpZpH0jbtcmYyVNBHchLvKZgU+7xWa4xsqTn03E=; b=Zv2oXhjqdy4cxZ3fZd2HdCjAy585gfLuVCwIX8f9YT9jCigUrgtyTZ0v+jSDEU/E1l jj6nFHwQUaIxGtCaFhJXOUp3dJVDsThnhCRWa8XAFG5XYXQbQUO66ECXG2s8NRMgLejd bpjvQat737+lK1jzAhGLcFNBN5h9lUw3zyFh+WWbGvAiTDHdb0oVbcLpr9ftWDbfIwMw Mnjex7ZqIPHJ9UBQhP4sxsvlrXSNqnnZ+7MnCWsjFDgBCUsSvlYDu0TKTogXbC3Yq2o1 asRjwpoQt3QBy0fw2NlhPN+jcP5tQGXfHn69jAX8bUkUwIg3EcUddFMmozw1oFEBXR2L KtfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PruqKI5r; 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 dd5si6439412ejb.399.2020.06.24.08.05.28; Wed, 24 Jun 2020 08:05: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; dkim=pass header.i=@linaro.org header.s=google header.b=PruqKI5r; 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 S2404339AbgFXPEq (ORCPT + 99 others); Wed, 24 Jun 2020 11:04:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404118AbgFXPEn (ORCPT ); Wed, 24 Jun 2020 11:04:43 -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 A143EC061573 for ; Wed, 24 Jun 2020 08:04:43 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id f139so2844659wmf.5 for ; Wed, 24 Jun 2020 08:04:43 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=2m2sUpZpH0jbtcmYyVNBHchLvKZgU+7xWa4xsqTn03E=; b=PruqKI5rmzrEACi4Yw4FtuSd9KORHRlamVPBe3qqmkvNpFexwSdnG4SfgHltKStskh mva5w7RUtjo3uJjAaI+cNW5KHVSgyGm6ZovablsXX1U9W9K4v+NyOkE72Byf+dTKKkgE KOiaRHTpCyuRsf5J4jAvNqqmU5btGJgwguhNQ1BnWbgdjRr0p5D4jtr91lroWU6vR32F GCrDJDEiF8/7dfj64lTWImISFa4Np+pVFYTSpf4pdqvc65aSjeHo5ob/hmAWaljIMH3r IggB0GwSnJRl6TjfzWrKX7nxh1UouC0/BKxUinGbWcmXeU2MgDrLsAVtrnjkOC5zhHKr ZfEw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=2m2sUpZpH0jbtcmYyVNBHchLvKZgU+7xWa4xsqTn03E=; b=T+gWIIE/XWGt/TY4TvcR6XFuJ3qprbThJThPv7Ov+2p3EUneFm99uKvNwwkUkg1ej+ 1YoS75yOSAG5pruOODTNYcI/fTQ6qnCjaVDXwWiiY8SL/O8TYa8sI2Q2fI9gFet7I7ZT UUK7cbOlHNeB0ITMsZkyri2THPKOIsqYksrliyKV3qaD1mjWzdy1jnDwN6SprCJeeQoW Gg/k2xIQocnauPRiMAPNU8z2AEtkdjkY3yBJo1kYz09OMX7M448U9O+RbIv7jNzrxgZg 4msBHpyuTMB/rEBpDQX1bbuu24IWQYikizIP4RgZf51OeXmqbS391G6+wlViTU05Hsui dXdA== X-Gm-Message-State: AOAM532Q919rctzEh0o2i6BARnY+JAL+YdGpP7eoEhTQ7Qa5AC8CpHd9 AmnmimQ9kbWwre3rIqzn+ctMTTzLGYw= X-Received: by 2002:a1c:c90a:: with SMTP id f10mr17453319wmb.121.1593011081473; Wed, 24 Jun 2020 08:04:41 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id f186sm8200319wmf.29.2020.06.24.08.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 08:04:40 -0700 (PDT) From: Lee Jones To: daniel.thompson@linaro.org, jingoohan1@gmail.com, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , stable@vger.kernel.org, Bartlomiej Zolnierkiewicz Subject: [PATCH 1/8] backlight: lms501kf03: Remove unused const variables Date: Wed, 24 Jun 2020 15:57:14 +0100 Message-Id: <20200624145721.2590327-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200624145721.2590327-1-lee.jones@linaro.org> References: <20200624145721.2590327-1-lee.jones@linaro.org> 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 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 --- 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