linux/drivers/gpu/drm/omapdrm/displays
Markus Elfring 76e4c327ea GPU-DRM-OMAP: Delete unnecessary checks before two function calls
The following functions test whether their argument is NULL and then
return immediately.
* backlight_device_unregister
* drm_gem_object_unreference_unlocked

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/72ff4670-4f3d-c7ed-4f37-e49f2bbc7aba@users.sourceforge.net
2016-07-22 10:27:59 +02:00
..
connector-analog-tv.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
connector-dvi.c gpu: drm: omapdrm: connector-dvi: add missing of_node_put after calling of_parse_phandle 2016-07-15 08:47:01 -04:00
connector-hdmi.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
encoder-opa362.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
encoder-tfp410.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
encoder-tpd12s015.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
Kconfig drm/omap: rename panel/encoder Kconfig names 2016-06-06 10:14:29 +03:00
Makefile drm/omap: rename panel/encoder Kconfig names 2016-06-06 10:14:29 +03:00
panel-dpi.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
panel-dsi-cm.c GPU-DRM-OMAP: Delete unnecessary checks before two function calls 2016-07-22 10:27:59 +02:00
panel-lgphilips-lb035q02.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
panel-nec-nl8048hl11.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
panel-sharp-ls037v7dw01.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
panel-sony-acx565akm.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
panel-tpo-td028ttec1.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
panel-tpo-td043mtea1.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00