Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1313177ybt; Thu, 25 Jun 2020 03:05:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIzOPoN22Sckhxovbxa/VS/g/kX+u9C0HuQon5WT/5oPd08iNadfUmBfhOH7augPvkBZjs X-Received: by 2002:aa7:d353:: with SMTP id m19mr17281796edr.75.1593079556840; Thu, 25 Jun 2020 03:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593079556; cv=none; d=google.com; s=arc-20160816; b=bM4IzlsASESpC5XI51aQyy2vsp8WhveoqSe9Bye3o/p7SI53KP9QGIUrXFx59DKAdP O+JLaYqTvLwEkrhcsxjxCjb5cjHFI79UmGga99SWyh6xf0KU+ONdzxZ+oLiWDWSEeJIH 0Th86cwPdynsFiJitmCbk81L3JslcNdchm8luMDqKL53viSYp9l686YgxmjdjhPnsqyE YTsM9Fjb3EwC6kDitjicm6MMiR4nizDFvL3UxAwr42jiH6IL+pbzQf1rdGfIowK9LkNf 9RJYXRn76V0KnD/ZBZcrtrQnusc8T/anPtIFtNXL0JLMuie4r9F0sYrCzmsl4TwXaFrK PVpg== 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=vxl/tdv9kpWIOuN2YYNY6bKce9KEtpxUCz4B4fhlwMs=; b=jUuO/qV5XdG1Ar/voicCvRvfdI8PhUXMDrKo4StbL9xNf2eub9EvokTvQp6Vy8y6+X UOkpBojp7HBGd5QecKqyKAwWN/gjg1PU0rHSJ2yytOBD3UcomkPdVAxpyUutjNId2o8K B2kWZ44EZGc5peyKRuxR8PqI3El+7WfyO4doxmJB9awKdeMgXFrltu1b8Fr1+KeMIrZI cg+Lp01XrYykyxwidFu2Dl9Rpro8+Kc0TKpfB027eFrqfr4bRnHd2vur3mDSoSoa0gVn LvVvNh7HUMKKH7kjDaqkS4qq/81Sk0AiSJBvYr4hG66k1Ws7B3rkyaqPUsIFNZ8QdPdS jWJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E0CHlPpO; 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 nh4si14280904ejb.339.2020.06.25.03.05.32; Thu, 25 Jun 2020 03:05:56 -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=E0CHlPpO; 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 S2389692AbgFYJqR (ORCPT + 99 others); Thu, 25 Jun 2020 05:46:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389894AbgFYJqQ (ORCPT ); Thu, 25 Jun 2020 05:46:16 -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 00B1CC061573 for ; Thu, 25 Jun 2020 02:46:15 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id a6so6325613wmm.0 for ; Thu, 25 Jun 2020 02:46:15 -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=vxl/tdv9kpWIOuN2YYNY6bKce9KEtpxUCz4B4fhlwMs=; b=E0CHlPpOfBqGZD74u+uo1w2hr2b1CGencolNHf1PknVTcOxLfkAyK0NwwnxeXTXuU0 erbhuiFNXLPZwf1SAvTRASh2mqXkZ6aTB0SJCg80WaNjT0ezOSXNsgviYZTjcM8OEWmi sZi2QRcp/wO3FZSK3XqSW0FOB/fkmUZFzoG1824UAes7Ig//VM0qw6HVxGoqQNFcX3iS jd+jf4R1MrEAS00a7umB5+6Hy5isDM2yy7brQkbH8HIect9U6iorDx0D1413r8gJC0+n m+MUBrJP00jUMujNhu4sivLcL4lh/QUbL+cj4zhkfaAN0qF93X6bLZzJZmR7ZsS154gf Ov9w== 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=vxl/tdv9kpWIOuN2YYNY6bKce9KEtpxUCz4B4fhlwMs=; b=XNd2ER3j5AgglUuy/tPnq7j21Iny7n/6OkKMBAnBfriGth+xyKPs39zNRuA3X4jAXo cvml5e+04yvRmss+GyNQmlJu5UfEQed4SEDrvcdl02SQ+h17t+zEm6yTf358yKSDUFmj MpyAUN5HfH7SbhJo8CKqOSLE0xY5f8J6Vatup0vdMXkfMhqT8P7Isf9ct6bMXoft8mXt CrOwucbmAaZ7sN5/jodw1IjT/i+/9ply71tVOZTyfqPvftZastJNiAA1esyhuSrqkec4 +BWQ4+DiddY2ZNWJZFCnB2ZQ2AAuhDTWdjy+NAcYdEjeZ0jcyhKj9SMHVQma8Jtus7Hb oXNQ== X-Gm-Message-State: AOAM533gB4kCwZmAPnKFqtlVY0/F6IQhHZ5TGfp68V2al4sNWj4I6sj6 ed/qomiVDrcptgBxSmYAHO0Q7w== X-Received: by 2002:a1c:a557:: with SMTP id o84mr2445278wme.42.1593078374694; Thu, 25 Jun 2020 02:46:14 -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 w2sm19962496wrs.77.2020.06.25.02.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 02:46:14 -0700 (PDT) Date: Thu, 25 Jun 2020 10:46:12 +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, Andy Gross , Bjorn Andersson , Bartlomiej Zolnierkiewicz , linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 8/8] backlight: qcom-wled: Remove unused configs for LED3 and LED4 Message-ID: <20200625094612.fn3o5bd37t7vadsc@holly.lan> References: <20200624145721.2590327-1-lee.jones@linaro.org> <20200624145721.2590327-9-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-9-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:21PM +0100, Lee Jones wrote: > 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 Reviewed-by: Daniel Thompson > --- > 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 >