Re: [PATCH -next] drm/nouveau:disp: Remove set but not used variable 'ret'

2021-06-14 Thread libaokun (A)
ping 在 2021/5/15 17:01, Baokun Li 写道: From: "libaok...@huawei.com" Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/nouveau/dispnv50/disp.c: In function 'nv50_mstm_cleanup': drivers/gpu/drm/nouveau/dispnv50/disp.c:1389:6: warning: variable ‘ret’ set but not used [-Wunused-but-

Re: [PATCH -next] drm/nouveau/svm: Remove set but not used variable 'ret'

2021-06-14 Thread libaokun (A)
ping 在 2021/5/31 10:38, Baokun Li 写道: Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/nouveau/nouveau_svm.c: In function 'nouveau_pfns_map': drivers/gpu/drm/nouveau/nouveau_svm.c:814:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] It never used since in

Re: [PATCH -next] video: fbdev: intelfb: Remove set but not used variable 'val'

2021-06-14 Thread libaokun (A)
ping 在 2021/5/27 16:59, Baokun Li 写道: Fixes gcc '-Wunused-but-set-variable' warning: drivers/video/fbdev/intelfb/intelfb_i2c.c: In function 'intelfb_gpio_setscl': drivers/video/fbdev/intelfb/intelfb_i2c.c:58:6: warning: variable ‘val’ set but not used [-Wunused-but-set-variable] drivers/video

Re: [PATCH -next] drm/nouveau: Remove set but not used variable 'dev'

2021-06-14 Thread libaokun (A)
ping 在 2021/5/25 16:25, Baokun Li 写道: Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/nouveau/nouveau_bo.c: In function 'nouveau_ttm_tt_populate': drivers/gpu/drm/nouveau/nouveau_bo.c:1258:17: warning: variable ‘dev’ set but not used [-Wunused-but-set-variable] drivers/gpu/drm

Re: [PATCH -next] drm/nouveau: Remove set but not used variable 'width'

2021-06-14 Thread libaokun (A)
ping 在 2021/5/25 16:17, Baokun Li 写道: Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/nouveau/nouveau_display.c: In function 'nouveau_framebuffer_new': drivers/gpu/drm/nouveau/nouveau_display.c:309:15: warning: variable ‘width’ set but not used [-Wunused-but-set-variable] It

Re: [PATCH -next] drm/nouveau:disp: Remove set but not used variable 'ret'

2021-05-31 Thread libaokun (A)
ping 在 2021/5/15 17:01, Baokun Li 写道: From: "libaok...@huawei.com" Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/nouveau/dispnv50/disp.c: In function 'nv50_mstm_cleanup': drivers/gpu/drm/nouveau/dispnv50/disp.c:1389:6: warning: variable ‘ret’ set but not used [-Wunused-but-