diff options
author | 2016-07-20 18:32:34 +0200 | |
---|---|---|
committer | 2016-07-20 19:47:35 +0200 | |
commit | 29d79ede4edc1661e24b918acbc9c42a4cd4fcd0 (patch) | |
tree | c3eab542615380954aa7ce7b8b586e9798203871 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | drm/atomic: Delete an unnecessary check before drm_property_unreference_blob() (diff) | |
download | wireguard-linux-29d79ede4edc1661e24b918acbc9c42a4cd4fcd0.tar.xz wireguard-linux-29d79ede4edc1661e24b918acbc9c42a4cd4fcd0.zip |
GPU-DRM-sun4i: Delete an unnecessary check before drm_fbdev_cma_hotplug_event()
The drm_fbdev_cma_hotplug_event() 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 <elfring@users.sourceforge.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/cd959d92-f7d9-598c-421f-d3f40bedee10@users.sourceforge.net
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions