Tag: e73a8569731aebd21832b34bf7ce8121dec2e98d

drm/msm: Delete unnecessary checks before drm_gem_object_unreference_unlocked()

Author: Markus Elfring <elfring@users.sourceforge.net> The drm_gem_object_unreference_unlocked() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Rob Clark — drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c | 3 +– drivers/gpu/drm/msm/msm_fb.c | 4 ++– drivers/gpu/drm/msm/msm_gem.c | 4 +— 3 …

Continue reading