Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp334320ybz; Fri, 17 Apr 2020 01:58:26 -0700 (PDT) X-Google-Smtp-Source: APiQypLhbuqtjMLTkhbUaJFs4hWQ+Nst3hGhNOcxrKo95XqRRJvfjXLfeimKAWbYScqjNqZs6A1h X-Received: by 2002:a05:6402:1773:: with SMTP id da19mr1942612edb.2.1587113906092; Fri, 17 Apr 2020 01:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587113906; cv=none; d=google.com; s=arc-20160816; b=yQR2wZgK920bII3PqvO1wuQ+qrR5eZVhykVrHZgB7OGISkr2vPyhXsokeTnjatJCq1 UoE+bftA2eRccuDQYpkl71SCwSY4uh/BSt9i7Gtw1BOW8OZOFsR+EWt8hA7B2u121aSK 0TmZfmXnNNu6cb57KT1FFN9UGAOZuuAT9mhMkylTq2bagXvep2r+lxAi7cL0yLAf2ZQn Ila5USYDm8UbHyKcfojjG8FzqP2HcdWDnwY2fsfgVbL4P8mAcCWmAU/jZOyBfcSRiWp5 mYCeaKADK76yR4PyR3x4+sp+289SyoE98B/a1fevjuJvNdWuFcAJiZcf0fIHuNoqrAoy UJ0g== 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; bh=TXFgrXhXNRqLrWEaPS3SZqBCO0Wm0i6L08iqhxla/O8=; b=FoukUcprZFax78jmhR3oV70Cf2QeSc6Ww7KnLQAT//sVyILV8SYjksr5+jx7FuHqxe eXBWWHA9shchNqItwORH26uSZN05UJZUYunwRgU3wY/2gwV2VmKelhL9AhpvDDXpzLHW ho/vGouieq074bXa25L31BlmexcrHEKu/ShR8WeG29SfJvcnpJzreytDYYhDuVcIS5qQ mT50oQQ+FzHbW7mIeM8K1NSzjvYwqm0Q1bWlBXdVkwnaGCEBqoW+wiJj+vfOoVAQ92hN oRES1koUmtbcYI/+uHD4dbeCntzq2GF+qijSgWdSTb0P0TRdAkbEg3zcEujfXsBLekOk yfFA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gh8si8431107ejb.301.2020.04.17.01.58.03; Fri, 17 Apr 2020 01:58:26 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730002AbgDQI4o (ORCPT + 99 others); Fri, 17 Apr 2020 04:56:44 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2345 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729784AbgDQI4n (ORCPT ); Fri, 17 Apr 2020 04:56:43 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id E6BB1BA9E54F3CB3E3A9; Fri, 17 Apr 2020 16:56:39 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Fri, 17 Apr 2020 16:56:31 +0800 From: Jason Yan To: , , , , , , , CC: Hulk Robot Subject: [PATCH] backlight: lms501kf03: remove unused 'seq_sleep_in' and 'seq_up_dn' Date: Fri, 17 Apr 2020 17:22:57 +0800 Message-ID: <20200417092257.13694-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following gcc warning: drivers/video/backlight/lms501kf03.c:96:28: warning: ‘seq_sleep_in’ defined but not used [-Wunused-const-variable=] 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=] static const unsigned char seq_up_dn[] = { ^~~~~~~~~ Reported-by: Hulk Robot Signed-off-by: Jason Yan --- 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 8ae32e3573c1..c1bd02bb8b2e 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.21.1