aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-07-15 22:38:42 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-18 09:11:29 +0200
commit5345a5ab513b3438bab7d5b02c02d9bde064209e (patch)
tree4795309bf0223ef6dbe3bb4308d00944cc410664 /tools/perf/scripts/python
parentdrm/arcpgu: Delete an unnecessary check before drm_fbdev_cma_hotplug_event() (diff)
downloadlinux-5345a5ab513b3438bab7d5b02c02d9bde064209e.tar.gz
linux-5345a5ab513b3438bab7d5b02c02d9bde064209e.zip
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 <elfring@users.sourceforge.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/5e3dafff-72bb-e616-e84a-368f78fa66b1@users.sourceforge.net
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions