diff options
| author | Markus Elfring <[email protected]> | 2016-07-15 22:38:42 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-07-18 09:11:29 +0200 |
| commit | 5345a5ab513b3438bab7d5b02c02d9bde064209e (patch) | |
| tree | 4795309bf0223ef6dbe3bb4308d00944cc410664 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | f15a8e9a14196bad904d040e7b587bdf76ad35ed (diff) | |
drm/virtgpu: Delete unnecessary checks before drm_gem_object_unreference_unlocked()
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 <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions