Re: [PATCH 1/2] drm/sti: remove unused variable

2017-02-22 Thread Benjamin Gaignard
2017-02-21 23:03 GMT+01:00 Arnd Bergmann : > One variable was left behind after its user got removed and we should now > delete the declaration as well: > > drivers/gpu/drm/sti/sti_vtg.c: In function 'vtg_probe': > drivers/gpu/drm/sti/sti_vtg.c:392:22: error: unused variable 'np' > [-Werror=unused

[PATCH 1/2] drm/sti: remove unused variable

2017-02-21 Thread Arnd Bergmann
One variable was left behind after its user got removed and we should now delete the declaration as well: drivers/gpu/drm/sti/sti_vtg.c: In function 'vtg_probe': drivers/gpu/drm/sti/sti_vtg.c:392:22: error: unused variable 'np' [-Werror=unused-variable] Fixes: 0c7ff84f7f9d ("drm/sti: remove depr