Re: [PATCH] drm/ttm: cleanup unuse ret value

2017-04-17 Thread Huang Rui
On Mon, Apr 17, 2017 at 11:42:18PM +0800, Alex Deucher wrote: > On Mon, Apr 17, 2017 at 3:38 AM, Huang Rui wrote: > > The ret must be 0 here, otherwise, the function will return after > init_mem_type. > > > > Signed-off-by: Huang Rui > > I think you can drop the initial assignment of ret as well

Re: [PATCH] drm/ttm: cleanup unuse ret value

2017-04-17 Thread Alex Deucher
On Mon, Apr 17, 2017 at 3:38 AM, Huang Rui wrote: > The ret must be 0 here, otherwise, the function will return after > init_mem_type. > > Signed-off-by: Huang Rui I think you can drop the initial assignment of ret as well. Either way: Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/ttm/

[PATCH] drm/ttm: cleanup unuse ret value

2017-04-17 Thread Huang Rui
The ret must be 0 here, otherwise, the function will return after init_mem_type. Signed-off-by: Huang Rui --- drivers/gpu/drm/ttm/ttm_bo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 9ee4ff4..5dcb4e1 100644 --- a/drivers/gp