Tag: 264f7d673fad394d8ed6b17fa9c16e2e62fa0c4e

drm/msm: Deletion of unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions framebuffer_release() and vunmap() perform also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Reviewed-by: Thierry Reding Signed-off-by: Rob Clark — drivers/gpu/drm/msm/msm_fbdev.c | 3 +– drivers/gpu/drm/msm/msm_gem.c | 3 +– 2 files changed, 2 insertions(+), …

Continue reading