Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp654476ybt; Wed, 24 Jun 2020 08:06:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoCx/0s8jxdXc91abqHqWB1FBYUy6LFmGcgdeJI9OmMsQuuxTr61B7w8z1krSWH6ZB/4XU X-Received: by 2002:a17:906:4d4c:: with SMTP id b12mr15102342ejv.506.1593011161153; Wed, 24 Jun 2020 08:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593011161; cv=none; d=google.com; s=arc-20160816; b=ceqTmHMIQfUtly3k0we5jAFOlW1XT/+zjh3gTN4BBZjX9vbIfBOu6IXlWvFpXxr4M8 fke2LUiMi5wniB4Aqr+aZy59Mg2XTSUSnaiioHiQXGR+tX9ipt5tB9JsThydCILuCuX+ wSCfvKtYu3zeoByZI/l4q5omgtrSIaopCopbaxHoSK7KvcMwwE/Qmr1T7dmRYJIb6+y6 avOod0rHM4P8ewPoGRm12VrqvpbJZASFf4jfR98has9OiSxw90KamcX0dzoNZmjEvXid 8x8dbdhnRmvv9mkz6Qjs5DNqEvUI0z7YVi7lWnOXw278L1RUgZkjpdyITbgB/Ae3kW3J AnTA== 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=kCGt1BLBXUDbnvT6cymu5MVAxH+kTuMsl5c+6aP/lLY=; b=nOMKIk77EAxknxteYnKQeAk+sFi/Xw+5Lk3E0I3o6Klia00z7CnilPWoE+484kSVdX Va0Tx5mVxjvhDEYRGP4+HTsefc/58BWbCNr6F0JwKfgg6P9lgx0/nfm/97DUQqCjOLoN FGcYcoYhZAlI8akcUs20VeQlk1G7ovNaLRICR826T+uDeH3Sz0/p/KRNHqfdEcchNrg1 9NN3IsAZVSP6Fy/rGNWyLjMXCOIfVxIelXKeVawkfpTl+4R6FTBYBIwCPSMrVjnz36wP DNGaXyzBau+9xl4Oo9d2fG+m2b7SzaPITrOvQzsKyGCUEe6BBUpmnv6XQAOy+gUsAM+1 pWZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jMGyaf2Y; 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 v10si13154074ejb.343.2020.06.24.08.05.37; Wed, 24 Jun 2020 08:06:01 -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=jMGyaf2Y; 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 S2404379AbgFXPFA (ORCPT + 99 others); Wed, 24 Jun 2020 11:05:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404367AbgFXPEw (ORCPT ); Wed, 24 Jun 2020 11:04:52 -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 5142AC061795 for ; Wed, 24 Jun 2020 08:04:52 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id 17so2865544wmo.1 for ; Wed, 24 Jun 2020 08:04:52 -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=kCGt1BLBXUDbnvT6cymu5MVAxH+kTuMsl5c+6aP/lLY=; b=jMGyaf2YOvnwdGALr7/G0emGXXMlzRVlYnFPWVRjaQMIqVwugRAnJc3hlq5hiW8h5c UlNYM5fXvpEjkCbgvKcR0hRU6Z7v6cS74QrqdBYQQwaf72KYCZRj32ckrnmu0aG5wzCh oQv/67iegU98VlySub1xjGVNx32ddSLk55uKDXkUIrvbzXltQVC60J2oVznaWMR03k3X c88NZ/cwdn2lcyWwoIaMvjTZKlgnZ3OueIPy8vYEViLHA8IFnXW05jOkLP4xaKWjAreX 6dOPEbwj+fmCGzpLHvYH0loVrVQGULW0wojhwots1TLiid7Psoh58sITpdd5KWwWa8ll /faw== 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=kCGt1BLBXUDbnvT6cymu5MVAxH+kTuMsl5c+6aP/lLY=; b=Ab23LcRAcrk/I1ghsL5Nkv54ke6OTO6xkTPr6fRvKHqm4qbDyMzXkoMGw3+cWayKl7 L3919TtJ2ci6yjg9/zJNdQ0YD45VE258krky1sfoUkeBbJ3ygcWcAT8V9rsaofQLGMMo 9AAT+hDUMPc4j3GQcNuyX7gLIrql/UsHbfVxgRQRf1ojBza5dyuzdoq5HMurL8gNBZFL fx0zBPhrqsVOT9KyAmpQKQ4Td/ef3oFHgw9AfjhiKH0x6uH3sgxFCek8KnbHmxT87xbB IfoTdMfzNDDPenloJRXQycE2KOpu2oMTjgvVyTO3FiCLa99lbf/OHkjz5s+rtfpBFKro kH2Q== X-Gm-Message-State: AOAM5318b1RNtvh0s8F1RBnZbgT9uZEz7K+IyXaJXLOKmZApFBs96hvV hbwvnFm/3rAaUAQZW27CWrkf0w== X-Received: by 2002:a1c:a5d6:: with SMTP id o205mr20552487wme.125.1593011091041; Wed, 24 Jun 2020 08:04:51 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id f186sm8200319wmf.29.2020.06.24.08.04.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 08:04:50 -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, Andy Gross , Bjorn Andersson , Bartlomiej Zolnierkiewicz , linux-arm-msm@vger.kernel.org Subject: [PATCH 8/8] backlight: qcom-wled: Remove unused configs for LED3 and LED4 Date: Wed, 24 Jun 2020 15:57:21 +0100 Message-Id: <20200624145721.2590327-9-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 Fixes W=1 warnings: drivers/video/backlight/qcom-wled.c:1294:34: warning: ‘wled4_string_cfg’ defined but not used [-Wunused-const-variable=] 1294 | static const struct wled_var_cfg wled4_string_cfg = { | ^~~~~~~~~~~~~~~~ drivers/video/backlight/qcom-wled.c:1290:34: warning: ‘wled3_string_cfg’ defined but not used [-Wunused-const-variable=] 1290 | static const struct wled_var_cfg wled3_string_cfg = { | ^~~~~~~~~~~~~~~~ Cc: Cc: Andy Gross Cc: Bjorn Andersson Cc: Bartlomiej Zolnierkiewicz Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/video/backlight/qcom-wled.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c index 4c8c34b994414..c25c31199952c 100644 --- a/drivers/video/backlight/qcom-wled.c +++ b/drivers/video/backlight/qcom-wled.c @@ -1287,14 +1287,6 @@ static const struct wled_var_cfg wled4_string_i_limit_cfg = { .size = ARRAY_SIZE(wled4_string_i_limit_values), }; -static const struct wled_var_cfg wled3_string_cfg = { - .size = 8, -}; - -static const struct wled_var_cfg wled4_string_cfg = { - .size = 16, -}; - static const struct wled_var_cfg wled5_mod_sel_cfg = { .size = 2, }; -- 2.25.1