[PATCH] drm/nouveau/kms: Remove set but not used 'ret'

2020-09-23 Thread Tian Tao
This addresses the following gcc warning with "make W=1": drivers/gpu/drm/nouveau/dispnv50/disp.c: In function ‘nv50_mstm_prepare’: drivers/gpu/drm/nouveau/dispnv50/disp.c:1378:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Signed-off-by: Tian Tao ---

Re: [PATCH] drm/nouveau/kms: Remove set but not used 'ret'

2020-09-22 Thread Lyude Paul
On Tue, 2020-09-22 at 17:25 +0800, Tian Tao wrote: > This addresses the following gcc warning with "make W=1": > drivers/gpu/drm/nouveau/dispnv50/disp.c: In function ‘nv50_mstm_prepare’: > drivers/gpu/drm/nouveau/dispnv50/disp.c:1378:6: warning: > variable ‘ret’ set but not used