OpenCloudOS-Kernel/drivers/gpu/drm/mgag200
Daniel Vetter 4cb8802e28 drm/mgag200: 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:04 +02:00
..
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drm/mgag200: Hardware cursor support 2013-06-17 19:42:48 +10:00
mgag200_cursor.c drm/mgag200: fix oops in cursor code. 2014-01-16 14:43:04 +10:00
mgag200_drv.c drm: kill ->gem_init_object() and friends 2013-10-09 14:38:02 +10:00
mgag200_drv.h drm: kill ->gem_init_object() and friends 2013-10-09 14:38:02 +10:00
mgag200_fb.c drm/mgag200,ast,cirrus: fix regression with drm_can_sleep conversion 2014-02-06 11:39:03 +10:00
mgag200_i2c.c drm/mgag200: Bug fix: Renesas board now selects native resolution. 2013-03-08 08:31:49 +10:00
mgag200_main.c drm/mgag200: Remove unecessary NULL check in gem_free 2014-04-22 15:39:04 +02:00
mgag200_mode.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
mgag200_reg.h drm/mgag200: Hardware cursor support 2013-06-17 19:42:48 +10:00
mgag200_ttm.c drm: init TTM dev_mapping in ttm_bo_device_init() 2014-03-16 12:23:42 +01:00