Re: [PATCH] [TRIVIAL] drm: drop commented out code and precedingcomment

From: Jiri Kosina
Date: Tue Mar 01 2011 - 09:20:32 EST


On Sat, 19 Feb 2011, Paul Bolle wrote:

> r100_gpu_init() was dropped in 90aca4d ("drm/radeon/kms: simplify &
> improve GPU reset V2") but here it was only commented out.
>
> Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
> ---
> drivers/gpu/drm/radeon/r100.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
> index ac493ec..e0f7fd9 100644
> --- a/drivers/gpu/drm/radeon/r100.c
> +++ b/drivers/gpu/drm/radeon/r100.c
> @@ -3746,8 +3746,6 @@ static int r100_startup(struct radeon_device *rdev)
> r100_mc_program(rdev);
> /* Resume clock */
> r100_clock_startup(rdev);
> - /* Initialize GPU configuration (# pipes, ...) */
> -// r100_gpu_init(rdev);
> /* Initialize GART (initialize after TTM so we can allocate
> * memory through TTM but finalize after TTM) */
> r100_enable_bm(rdev);

Dave, going to pick this one up?

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/