mirror of https://gitee.com/openkylin/linux.git
e0c6a73fb1
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. Noticed while chasing coverity reports, somehow this one here was not flagged. Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bochs.h | ||
bochs_drv.c | ||
bochs_fbdev.c | ||
bochs_hw.c | ||
bochs_kms.c | ||
bochs_mm.c |