diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-07-22 15:56:15 +0200 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-07-22 13:51:31 -0400 |
commit | 8c6e6188703d81c2b926566009901d21a8fdb94d (patch) | |
tree | 1f702c95cf286343d4fa0c6cbdfe962dfcc137e2 /scripts/gdb/linux/utils.py | |
parent | 0bc329976bc178aacf78ca6e3de8084e8e7eb5e4 (diff) | |
download | linux-stable-8c6e6188703d81c2b926566009901d21a8fdb94d.tar.gz linux-stable-8c6e6188703d81c2b926566009901d21a8fdb94d.tar.bz2 linux-stable-8c6e6188703d81c2b926566009901d21a8fdb94d.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions