diff options
| author | Markus Elfring <[email protected]> | 2016-07-15 14:23:15 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-07-18 08:54:55 +0200 |
| commit | d3ae255068b8b2db0b51ac8c91d0f715f37d0d2a (patch) | |
| tree | bcea9f2c59386cea0c2fce46df67378d401709d4 /tools/perf/scripts/python/compaction-times.py | |
| parent | 4077798484459a2eced2050045099a466ecb618a (diff) | |
drm/bochs: Delete an unnecessary check 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 call 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/compaction-times.py')
0 files changed, 0 insertions, 0 deletions