[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54B4FAD7.305@ti.com>
Date: Tue, 13 Jan 2015 13:00:39 +0200
From: Tomi Valkeinen <tomi.valkeinen@...com>
To: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>
CC: Jingoo Han <jg1.han@...sung.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Rob Clark <robdclark@...il.com>, <linux-omap@...r.kernel.org>,
<linux-fbdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] video: fbdev: omap2: dss: rfbi.c: Remove some unused
functions
On 21/12/14 19:02, Rickard Strandqvist wrote:
> Removes some functions that are not used anywhere:
> rfbi_init_display() rfbi_display_disable() rfbi_display_enable()
> rfbi_set_interface_timings() rfbi_set_data_lines() rfbi_set_pixel_size()
> rfbi_set_size() rfbi_update() rfbi_configure() rfbi_enable_te()
> rfbi_setup_te() rfbi_write_pixels() rfbi_write_data() rfbi_read_data()
> rfbi_write_command() rfbi_bus_unlock() rfbi_bus_lock()
>
> This was partially found by using a static code analysis program called cppcheck.
>
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
> ---
> drivers/video/fbdev/omap2/dss/rfbi.c | 297 ----------------------------------
> 1 file changed, 297 deletions(-)
It's true those functions are not used anywhere, but RFBI is currently
marked as BROKEN so it cannot be compiled and the functions do not do
any harm. I'd rather keep them, as they give an insight how the rfbi
should work if and when someone will fix the driver.
Tomi
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists