mirror of https://gitee.com/openkylin/linux.git
4cb8802e28
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 | ||
mgag200_cursor.c | ||
mgag200_drv.c | ||
mgag200_drv.h | ||
mgag200_fb.c | ||
mgag200_i2c.c | ||
mgag200_main.c | ||
mgag200_mode.c | ||
mgag200_reg.h | ||
mgag200_ttm.c |