Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1556436pxu; Fri, 16 Oct 2020 15:29:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKZScQ6YExdrsf0PH/sdk5IK8MWpU769UvdVGC4a0QwBlQfq/abrB80WkckoOIAFnenPZJ X-Received: by 2002:a17:906:696:: with SMTP id u22mr6022816ejb.446.1602887393836; Fri, 16 Oct 2020 15:29:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602887393; cv=none; d=google.com; s=arc-20160816; b=lIthfHALftmWkVTdwXNybjajAC7C/YnglRDlxamL9iqI2dEx048+3bipoF4u+d5xnF iV9CNqMnFqBSMaXEP0eIP9g7KbFv6/A9yheZ8fsBj6LzKry1vAcTAlyYMhbUe5wydGj/ dxo1q4su4xgQtbLRBZ7x/ZbhRlfIkwKpjBESgc2ybkmlsLnYNwRC7J53EJu3c3yVag5w KVm2ORfym8hAf5HXODaDdfO1FmfG+bLUChD4PgX/3dipd3CErfnAu4XDAAxCD7+Sq5o+ 3Tzeijv9h84wE+0lt1G96aOaQ37TV+Ub+5mHS4leda7+r9UZrwdSvNCPkRrpwd+dARnT lP9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=C/UmBVU6bDjZEBBcgATvipRUSXX0DmdtSJueM3VSTj4=; b=LmlQEuGRqgqCfhlC/Ra4N+oMm5bT23XHihrJ0Dzr3d+R7H1/goOw/GvQWC5uzrDRAC 10iwmviK52atufNr4oVcmOfHYm0lkHr4QcQE0n/cNdtvgipSvnYz2GZMQoVlNh7aWR0x PmBiifdjzxyouO4pH+yiINgJrri/4ddf2xOyXpe++DohNUPHZTeW9vljvL5/ZMAGAgHo I4+sCcKzHAxFz5FhkEwJ2vlHqjZ3i9Sd5WsOn7B1U09tAju2OYj1NKIqLENfOS/9NUkn xjAXOdgjS3rRa8ctGLsa1AIwCH5zpgLRp6oGetg11PAVpnAX03ExM2cmDdpWjv5HVKv3 9vSA== 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 c21si2647648eja.739.2020.10.16.15.29.31; Fri, 16 Oct 2020 15:29:53 -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 S2409651AbgJPU6l (ORCPT + 99 others); Fri, 16 Oct 2020 16:58:41 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:33680 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388086AbgJPU6l (ORCPT ); Fri, 16 Oct 2020 16:58:41 -0400 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 3528520030; Fri, 16 Oct 2020 22:58:37 +0200 (CEST) Date: Fri, 16 Oct 2020 22:58:36 +0200 From: Sam Ravnborg To: Li Heng Cc: tomi.valkeinen@ti.com, b.zolnierkie@samsung.com, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH -next] video: Remove set but not used variable Message-ID: <20201016205836.GB1496366@ravnborg.org> References: <1600957106-13741-1-git-send-email-liheng40@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1600957106-13741-1-git-send-email-liheng40@huawei.com> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=S433PrkP c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=IkcTkHD0fZMA:10 a=i0EeH86SAAAA:8 a=e5mUnYsNAAAA:8 a=ta2fmmrRsy9J0w49oKkA:9 a=QEXdDO2ut3YA:10 a=Vxmtnl_E_bksehYqCbjh:22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Li Heng On Thu, Sep 24, 2020 at 10:18:26PM +0800, Li Heng wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/video/fbdev/sis/300vtbl.h:1064:28: warning: > ‘SiS300_CHTVVCLKSONTSC’ defined but not used [-Wunused-const-variable=] > > Reported-by: Hulk Robot > Signed-off-by: Li Heng Thanks, now applied to drm-misc-next. Sam > --- > drivers/video/fbdev/sis/300vtbl.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/video/fbdev/sis/300vtbl.h b/drivers/video/fbdev/sis/300vtbl.h > index e4b4a26..26b19f7 100644 > --- a/drivers/video/fbdev/sis/300vtbl.h > +++ b/drivers/video/fbdev/sis/300vtbl.h > @@ -1061,8 +1061,6 @@ static const unsigned char SiS300_CHTVVCLKUNTSC[] = { 0x29,0x29,0x29,0x29,0x2a, > > static const unsigned char SiS300_CHTVVCLKONTSC[] = { 0x2c,0x2c,0x2c,0x2c,0x2d,0x2b }; > > -static const unsigned char SiS300_CHTVVCLKSONTSC[] = { 0x2c,0x2c,0x2c,0x2c,0x2d,0x2b }; > - > static const unsigned char SiS300_CHTVVCLKUPAL[] = { 0x2f,0x2f,0x2f,0x2f,0x2f,0x31 }; > > static const unsigned char SiS300_CHTVVCLKOPAL[] = { 0x2f,0x2f,0x2f,0x2f,0x30,0x32 }; > -- > 2.7.4 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel