[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <5552409.pVDogND5TS@amdc3058>
Date: Thu, 09 Nov 2017 16:53:42 +0100
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: Colin King <colin.king@...onical.com>
Cc: Maik Broemme <mbroemme@...mpq.org>, linux-fbdev@...r.kernel.org,
dri-devel@...ts.freedesktop.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] video: fbdev: intelfb: remove redundant variables
On Monday, November 06, 2017 01:17:11 PM Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Variables err_max, err_target and f_best are being assigned values but
> these are never read, hence they are redundant variables and can be
> removed. Cleans up clang warnings:
>
> drivers/video/fbdev/intelfb/intelfbhw.c:946:2: warning: Value stored to
> 'err_max' is never read
> drivers/video/fbdev/intelfb/intelfbhw.c:947:2: warning: Value stored to
> 'err_target' is never read
> drivers/video/fbdev/intelfb/intelfbhw.c:995:6: warning: Value stored to
> 'f_best' is never read
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Patch queued for 4.15, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Powered by blists - more mailing lists