diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-07-22 16:56:15 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-07-22 20:51:31 +0300 |
commit | 8c6e6188703d81c2b926566009901d21a8fdb94d (patch) | |
tree | 1f702c95cf286343d4fa0c6cbdfe962dfcc137e2 /drivers/gpu/drm/drm_lock.c | |
parent | 0bc329976bc178aacf78ca6e3de8084e8e7eb5e4 (diff) | |
download | linux-8c6e6188703d81c2b926566009901d21a8fdb94d.tar.xz |
drm/etnaviv: Delete unnecessary checks before two function calls
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 <elfring@users.sourceforge.net>
[seanpaul tweaked subject]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/9638cd74-ffc5-d9ee-a40c-9b60e860ad8b@users.sourceforge.net
Diffstat (limited to 'drivers/gpu/drm/drm_lock.c')
0 files changed, 0 insertions, 0 deletions