linux/drivers/gpu/drm/vc4
Markus Elfring 63fe9bb865 drm/vc4: Delete unnecessary checks before two function calls
The following functions test whether their argument is NULL
and then return immediately.
* drm_fbdev_cma_hotplug_event
* drm_fbdev_cma_restore_mode

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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/fb33d930-6a5c-c501-6676-26bd486f1cb5@users.sourceforge.net
2016-07-18 09:11:28 +02:00
..
Kconfig drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
Makefile drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
vc4_bo.c drm/vc4: Use drm_gem_object_unreference_unlocked 2016-05-31 21:13:23 +02:00
vc4_crtc.c drm/core: Change declaration for gamma_set. 2016-06-07 15:30:09 +02:00
vc4_debugfs.c drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
vc4_dpi.c drm: vc4: Rely on the default ->best_encoder() behavior 2016-06-10 17:24:58 +02:00
vc4_drv.c drm/vc4: Delete unnecessary checks before two function calls 2016-07-18 09:11:28 +02:00
vc4_drv.h drm/atomic: Add drm_atomic_crtc_state_for_each_plane_state 2016-06-02 16:59:05 +02:00
vc4_gem.c drm/vc4: Use drm_gem_object_unreference_unlocked 2016-05-31 21:13:23 +02:00
vc4_hdmi.c drm: vc4: Rely on the default ->best_encoder() behavior 2016-06-10 17:24:58 +02:00
vc4_hvs.c drm/vc4: Add support for scaling of display planes. 2016-02-16 11:24:08 -08:00
vc4_irq.c drm/vc4: improve throughput by pipelining binning and rendering jobs 2016-03-13 17:05:05 -07:00
vc4_kms.c drm/vc4: Delete unnecessary checks before two function calls 2016-07-18 09:11:28 +02:00
vc4_packet.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_plane.c drm/atomic: Add drm_atomic_crtc_state_for_each_plane_state 2016-06-02 16:59:05 +02:00
vc4_qpu_defines.h drm/vc4: Add an API for creating GPU shaders in GEM BOs. 2015-12-07 20:05:09 -08:00
vc4_regs.h drm/vc4: Add support for gamma ramps. 2016-05-02 16:17:10 -07:00
vc4_render_cl.c drm/vc4: Return an ERR_PTR from BO creation instead of NULL. 2016-02-16 12:20:58 -08:00
vc4_trace.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_trace_points.c drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_v3d.c drm/vc4: Recognize a more specific compatible string for V3D. 2016-03-13 18:54:24 -07:00
vc4_validate.c drm/vc4: Return an ERR_PTR from BO creation instead of NULL. 2016-02-16 12:20:58 -08:00
vc4_validate_shaders.c drm/vc4: Add an API for creating GPU shaders in GEM BOs. 2015-12-07 20:05:09 -08:00