WSL2-Linux-Kernel/drivers/gpu/drm/bochs
Daniel Vetter e0c6a73fb1 drm/bochs: 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.

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>
2014-04-22 15:39:40 +02:00
..
Kconfig
Makefile
bochs.h drm: bochs: drop unused struct fields 2014-04-18 13:31:50 +10:00
bochs_drv.c drm: bochs: add power management support 2014-04-18 13:31:49 +10:00
bochs_fbdev.c drm: bochs: drop unused struct fields 2014-04-18 13:31:50 +10:00
bochs_hw.c
bochs_kms.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
bochs_mm.c drm/bochs: Remove unecessary NULL check in gem_free 2014-04-22 15:39:40 +02:00