Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4308C63777 for ; Mon, 30 Nov 2020 09:13:12 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B05A207BC for ; Mon, 30 Nov 2020 09:13:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B05A207BC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 637A36E40A; Mon, 30 Nov 2020 09:13:11 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id D78256E40A for ; Mon, 30 Nov 2020 09:13:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 5F329AD89; Mon, 30 Nov 2020 09:13:08 +0000 (UTC) Subject: Re: [PATCH v2 08/28] video: fbdev: sis: Fix defined but not used warning of SiS_TVDelay To: Sam Ravnborg , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Lee Jones References: <20201128224114.1033617-1-sam@ravnborg.org> <20201128224114.1033617-9-sam@ravnborg.org> From: Thomas Zimmermann Message-ID: <2b2809ab-a9ab-cf6d-248d-828ca584bdee@suse.de> Date: Mon, 30 Nov 2020 10:13:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201128224114.1033617-9-sam@ravnborg.org> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vaibhav Gupta , Tetsuo Handa , Daniel Vetter , Laurent Pinchart , Jiri Slaby , Florian Tobias Schandinat , Evgeny Novikov , Jani Nikula , Aditya Pakki , Arnd Bergmann , Bartlomiej Zolnierkiewicz , Saeed Mirzamohammadi , Thomas Winischhofer , Xiaofei Tan , Nathan Chancellor , Alex Dewar , Jason Yan , Greg Kroah-Hartman , Qilong Zhang , Randy Dunlap , Gustavo Silva , Peilin Ye , George Kennedy , Kristoffer Ericson , Alexander Klimov , Jingoo Han , Joe Perches , Peter Rosin , Mike Rapoport Content-Type: multipart/mixed; boundary="===============1163172467==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1163172467== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="p8bfYqIBnPG8eyTYnGJQcuVf04r3Z35CF" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --p8bfYqIBnPG8eyTYnGJQcuVf04r3Z35CF Content-Type: multipart/mixed; boundary="JO7obVMGflrwGfzxp3HQvgsxvJhHjbm3X"; protected-headers="v1" From: Thomas Zimmermann To: Sam Ravnborg , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Lee Jones Cc: Vaibhav Gupta , Tetsuo Handa , Laurent Pinchart , Jiri Slaby , Arnd Bergmann , Florian Tobias Schandinat , Evgeny Novikov , Saeed Mirzamohammadi , Daniel Vetter , Thomas Winischhofer , Bartlomiej Zolnierkiewicz , Jani Nikula , Aditya Pakki , Xiaofei Tan , Nathan Chancellor , Alex Dewar , Jason Yan , Greg Kroah-Hartman , Qilong Zhang , Randy Dunlap , Gustavo Silva , Peter Rosin , George Kennedy , Kristoffer Ericson , Alexander Klimov , Jingoo Han , Joe Perches , Peilin Ye , Mike Rapoport Message-ID: <2b2809ab-a9ab-cf6d-248d-828ca584bdee@suse.de> Subject: Re: [PATCH v2 08/28] video: fbdev: sis: Fix defined but not used warning of SiS_TVDelay References: <20201128224114.1033617-1-sam@ravnborg.org> <20201128224114.1033617-9-sam@ravnborg.org> In-Reply-To: <20201128224114.1033617-9-sam@ravnborg.org> --JO7obVMGflrwGfzxp3HQvgsxvJhHjbm3X Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 28.11.20 um 23:40 schrieb Sam Ravnborg: > Fix W=3D1 warning by commenting unused SiS_TVDelay* variables. >=20 > The SiS_TVDelay* variables seem to contain some magic numbers > so looks like data worth keeping around but not as code we build. I would remove it. sisfb is broken beyond repair and no one's going to=20 try to use it anyway. In any case Acked-by: Thomas Zimemrmann >=20 > v2: > - Update subject (Lee) >=20 > Signed-off-by: Sam Ravnborg > Cc: Thomas Winischhofer > Cc: Lee Jones > --- > drivers/video/fbdev/sis/oem310.h | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/video/fbdev/sis/oem310.h b/drivers/video/fbdev/sis= /oem310.h > index 8fce56e4482c..ed28755715ce 100644 > --- a/drivers/video/fbdev/sis/oem310.h > +++ b/drivers/video/fbdev/sis/oem310.h > @@ -200,6 +200,7 @@ static const unsigned char SiS310_TVDelayCompensati= on_651302LV[] =3D /* M650, 651, > 0x33,0x33 > }; > =20 > +#if 0 /* Not used */ > static const unsigned char SiS_TVDelay661_301[] =3D /* 661, 301 */ > { > 0x44,0x44, > @@ -219,6 +220,7 @@ static const unsigned char SiS_TVDelay661_301B[] =3D= /* 661, 301B et al */ > 0x44,0x44, > 0x44,0x44 > }; > +#endif > =20 > static const unsigned char SiS310_TVDelayCompensation_LVDS[] =3D /* = LVDS */ > { >=20 --=20 Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany (HRB 36809, AG N=C3=BCrnberg) Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer --JO7obVMGflrwGfzxp3HQvgsxvJhHjbm3X-- --p8bfYqIBnPG8eyTYnGJQcuVf04r3Z35CF Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAl/Et6EFAwAAAAAACgkQlh/E3EQov+CC BQ/+McYEQMk7L3ovNuVUeW+tDTYFyjPOeJXGjT27f1X2kf3YadEZ+n/72CvS5F50/99JWY9n+xbe ODBQY5VeIOL4b0WQaBllTAfwUJOhmg33SZ0Ff0ONtqDCkLv8MFo8dOBqTFEoLrNZ/lhYafswbKr4 5n0q8CsAUhawNYJiNz0hoqIkFxuI9e+AGXGCWQ3VALa2ZpFUiBC8udSVKAOx/kQxbsfDmrAMqLVq vdI7gJir6bVV+K9VY+LA5Ls83zZA+IYFb+NeyXb5MqobW3FbmGau4r2OWnTlhsBsD2upuEB3G6ZX i52zWjDFWEXCFGptuY5ImM5VwaRVoBZ7yDWu+oEmwcllj8FF1e0nnPtGj6/EKFMaelXC6mj6u/CH 75n4svxYb1Q/vMwRWXfTQDYgiif5rtQ6doi4xKleiGdfsZ/mDLiAdY9cAB36omRlKYHcHELwU5Su PD1b/FZH8jnjRzDVz3YDgmnm8E3jEIZPTgVhSDVrL9a2Jiitj2pPa7TTHIqC3C22mecNrlf2+3Fh eLwQMYbgjVf/ikeXoH7kd2tOoTzoD6lx754fdi7rV1cB2W2NvoYBEo8OhShVvc5hqjkyQ/it6w2W N6gdJBVo9hC5V185tRNkGPhyHXS3FAkwI0UBQ2o3cNg9YMVGgTZ+W4hIexkLCcvk4m/ZD08QwZjL t2Y= =oB0P -----END PGP SIGNATURE----- --p8bfYqIBnPG8eyTYnGJQcuVf04r3Z35CF-- --===============1163172467== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1163172467==--