[PATCH] gpu: drm: sti: sti_drm_crtc.c: Remove unused function

2014-12-20 Thread Benjamin Gaignard
Hello, Please do not apply this patch, this function is use in the next I have submit: http://lists.freedesktop.org/archives/dri-devel/2014-December/074073.html Regards, Benjamin 2014-12-20 18:17 GMT+01:00 Rickard Strandqvist : > Remove the function sti_drm_crtc_is_main() that is not used anywh

[PATCH] gpu: drm: sti: sti_drm_crtc.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function sti_drm_crtc_is_main() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/sti/sti_drm_crtc.c | 10 -- drivers/gpu/drm/sti/sti_drm_crtc.h |1 - 2 fi