3d535eddf2
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cirrus_drv.c | ||
cirrus_drv.h | ||
cirrus_fbdev.c | ||
cirrus_main.c | ||
cirrus_mode.c | ||
cirrus_ttm.c |