Tag: 8c6e6188703d81c2b926566009901d21a8fdb94d

drm/etnaviv: Delete unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions drm_gem_object_unreference_unlocked() and vunmap() perform also input parameter validation. Thus the tests around their calls are not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring [seanpaul tweaked subject] Signed-off-by: Sean Paul Link: http://patchwork.freedesktop.org/patch/msgid/9638cd74-ffc5-d9ee-a40c-9b60e860ad8b@users.sourceforge.net — drivers/gpu/drm/etnaviv/etnaviv_gem.c | 7 ++—– 1 file changed, 2 insertions(+), 5 deletions(-) …

Continue reading