OpenCloudOS-Kernel/drivers/gpu/drm/cirrus
Daniel Vetter 3d535eddf2 drm/cirrus: Remove unecessary NULL check in gem_free
The ->gem_free_object never gets called with a NULL pointer, the check
is redundant. Also checking after the upcast allows compilers to elide
it anyway.

Spotted by coverity.

Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-22 15:39:07 +02:00
..
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drm/kms: driver for virtual cirrus under qemu 2012-05-17 11:02:24 +01:00
cirrus_drv.c drm: cirrus: add power management support 2014-04-18 13:31:49 +10:00
cirrus_drv.h drm: Kill DRM_IRQ_ARGS 2013-12-18 11:33:46 +10:00
cirrus_fbdev.c drm/mgag200,ast,cirrus: fix regression with drm_can_sleep conversion 2014-02-06 11:39:03 +10:00
cirrus_main.c drm/cirrus: Remove unecessary NULL check in gem_free 2014-04-22 15:39:07 +02:00
cirrus_mode.c drm: cirrus: add power management support 2014-04-18 13:31:49 +10:00
cirrus_ttm.c drm: init TTM dev_mapping in ttm_bo_device_init() 2014-03-16 12:23:42 +01:00